403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/devops/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/devops/models/__pycache__/build_run_source.cpython-39.pyc
a

���f
�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sveZdZdZdZdZdZdZdZdZ	dZ
d	Zd
d�Ze
dd
��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�VBScKsddi|_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__2s
��zBuildRunSource.__init__cCsp|d}|dkrdS|dkr dS|dkr,dS|dkr8d	S|d
krDdS|dkrPd
S|dkr\dS|dkrhdSdSdS)z�
        Given the hash representation of a subtype of this class,
        use the info in the hash to return the class of the subtype.
        rr
ZGitlabServerBuildRunSourcerZBitbucketServerBuildRunSourcerZGithubBuildRunSourcer
Z"DevopsCodeRepositoryBuildRunSourcerZVbsBuildRunSourcerZManualBuildRunSourcerZBitbucketCloudBuildRunSourcer	ZGitlabBuildRunSourcerNr)Zobject_dictionary�typerrr�get_subtypeSs$zBuildRunSource.get_subtypecCs|jS)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�rrrrrus
zBuildRunSource.source_typecCs gd�}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
        )rrr	r
rrr
rZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr�s

cCst|�S�N)rrrrr�__repr__�szBuildRunSource.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szBuildRunSource.__eq__cCs
||kSrrrrrr�__ne__�szBuildRunSource.__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�setterrr r!rrrrrs&!
!

rN)Zoci.utilrrrZoci.decoratorsr�objectrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit