📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
devops
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/devops/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: build_run_source.cpython-39.pyc
a ���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sv e Zd ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�BuildRunSourcez; The source from which the build run is triggered. �MANUAL�GITHUB�GITLAB� GITLAB_SERVER�BITBUCKET_CLOUD�BITBUCKET_SERVER�DEVOPS_CODE_REPOSITORY�VBSc K s ddi| _ ddi| _d| _dS )a$ Initializes a new BuildRunSource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.GitlabServerBuildRunSource` * :class:`~oci.devops.models.BitbucketServerBuildRunSource` * :class:`~oci.devops.models.GithubBuildRunSource` * :class:`~oci.devops.models.DevopsCodeRepositoryBuildRunSource` * :class:`~oci.devops.models.VbsBuildRunSource` * :class:`~oci.devops.models.ManualBuildRunSource` * :class:`~oci.devops.models.BitbucketCloudBuildRunSource` * :class:`~oci.devops.models.GitlabBuildRunSource` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_type: The value to assign to the source_type property of this BuildRunSource. Allowed values for this property are: "MANUAL", "GITHUB", "GITLAB", "GITLAB_SERVER", "BITBUCKET_CLOUD", "BITBUCKET_SERVER", "DEVOPS_CODE_REPOSITORY", "VBS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_type: str �source_type�str� sourceTypeN)Z swagger_typesZ attribute_map�_source_type)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/devops/models/build_run_source.py�__init__2 s ��zBuildRunSource.__init__c C sp | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZGitlabServerBuildRunSourcer ZBitbucketServerBuildRunSourcer ZGithubBuildRunSourcer Z"DevopsCodeRepositoryBuildRunSourcer ZVbsBuildRunSourcer ZManualBuildRunSourcer ZBitbucketCloudBuildRunSourcer ZGitlabBuildRunSourcer Nr )Zobject_dictionary�typer r r �get_subtypeS s$ zBuildRunSource.get_subtypec C s | j S )a� **[Required]** Gets the source_type of this BuildRunSource. The source from which the build run is triggered. Allowed values for this property are: "MANUAL", "GITHUB", "GITLAB", "GITLAB_SERVER", "BITBUCKET_CLOUD", "BITBUCKET_SERVER", "DEVOPS_CODE_REPOSITORY", "VBS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The source_type of this BuildRunSource. :rtype: str )r �r r r r r u s zBuildRunSource.source_typec C s g d�}t ||�sd}|| _dS )z� Sets the source_type of this BuildRunSource. The source from which the build run is triggered. :param source_type: The source_type of this BuildRunSource. :type: str )r r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zBuildRunSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zBuildRunSource.__eq__c C s | |k S r r r r r r �__ne__� s zBuildRunSource.__ne__N)�__name__� __module__�__qualname__�__doc__ZSOURCE_TYPE_MANUALZSOURCE_TYPE_GITHUBZSOURCE_TYPE_GITLABZSOURCE_TYPE_GITLAB_SERVERZSOURCE_TYPE_BITBUCKET_CLOUDZSOURCE_TYPE_BITBUCKET_SERVERZ"SOURCE_TYPE_DEVOPS_CODE_REPOSITORYZSOURCE_TYPE_VBSr �staticmethodr �propertyr �setterr r r! r r r r r s&