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_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@s�eZdZdZdZdZdZdZdZdZ	dZ
d	d
�Zedd��Z
ed
d��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zdd�Zdd�Zdd�ZdS) �BuildSourcez4
    Build source required for the Build stage.
    �GITHUB�GITLAB�
GITLAB_SERVER�BITBUCKET_CLOUD�BITBUCKET_SERVER�DEVOPS_CODE_REPOSITORY�VBScKs<ddddd�|_ddddd�|_d|_d|_d|_d|_dS)a\
        Initializes a new BuildSource 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.VbsBuildSource`
        * :class:`~oci.devops.models.BitbucketServerBuildSource`
        * :class:`~oci.devops.models.GithubBuildSource`
        * :class:`~oci.devops.models.BitbucketCloudBuildSource`
        * :class:`~oci.devops.models.GitlabServerBuildSource`
        * :class:`~oci.devops.models.DevopsCodeRepositoryBuildSource`
        * :class:`~oci.devops.models.GitlabBuildSource`

        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this BuildSource.
        :type name: str

        :param connection_type:
            The value to assign to the connection_type property of this BuildSource.
            Allowed values for this property are: "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 connection_type: str

        :param repository_url:
            The value to assign to the repository_url property of this BuildSource.
        :type repository_url: str

        :param branch:
            The value to assign to the branch property of this BuildSource.
        :type branch: str

        �str)�name�connection_type�repository_url�branchr�connectionTypeZ
repositoryUrlrN)Z
swagger_typesZ
attribute_map�_name�_connection_type�_repository_url�_branch)�self�kwargs�r�B/usr/lib/python3.9/site-packages/oci/devops/models/build_source.py�__init__.s#��zBuildSource.__init__cCsd|d}|dkrdS|dkr dS|dkr,dS|dkr8d	S|d
krDdS|dkrPd
S|dkr\dSdSdS)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
ZVbsBuildSourcerZBitbucketServerBuildSourcerZGithubBuildSourcer
ZBitbucketCloudBuildSourcer	ZGitlabServerBuildSourcerZDevopsCodeRepositoryBuildSourcerZGitlabBuildSourcerNr)Zobject_dictionary�typerrr�get_subtypecs zBuildSource.get_subtypecCs|jS)a@
        **[Required]** Gets the name of this BuildSource.
        Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.


        :return: The name of this BuildSource.
        :rtype: str
        �r�rrrrr�s
zBuildSource.namecCs
||_dS)a4
        Sets the name of this BuildSource.
        Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.


        :param name: The name of this BuildSource.
        :type: str
        Nr)rrrrrr�s
cCs|jS)a�
        **[Required]** Gets the connection_type of this BuildSource.
        The type of source provider.

        Allowed values for this property are: "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 connection_type of this BuildSource.
        :rtype: str
        )rr rrrr�s
zBuildSource.connection_typecCs gd�}t||�sd}||_dS)z�
        Sets the connection_type of this BuildSource.
        The type of source provider.


        :param connection_type: The connection_type of this BuildSource.
        :type: str
        )rrr	r
rrr
ZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr�s

cCs|jS)z�
        **[Required]** Gets the repository_url of this BuildSource.
        URL for the repository.


        :return: The repository_url of this BuildSource.
        :rtype: str
        �rr rrrr�s
zBuildSource.repository_urlcCs
||_dS)z�
        Sets the repository_url of this BuildSource.
        URL for the repository.


        :param repository_url: The repository_url of this BuildSource.
        :type: str
        Nr!)rrrrrr�s
cCs|jS)z�
        **[Required]** Gets the branch of this BuildSource.
        Branch name.


        :return: The branch of this BuildSource.
        :rtype: str
        �rr rrrr�s
zBuildSource.branchcCs
||_dS)z�
        Sets the branch of this BuildSource.
        Branch name.


        :param branch: The branch of this BuildSource.
        :type: str
        Nr")rrrrrr�s
cCst|�S�N)rr rrr�__repr__�szBuildSource.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szBuildSource.__eq__cCs
||kSr#rr&rrr�__ne__�szBuildSource.__ne__N)�__name__�
__module__�__qualname__�__doc__ZCONNECTION_TYPE_GITHUBZCONNECTION_TYPE_GITLABZCONNECTION_TYPE_GITLAB_SERVERZCONNECTION_TYPE_BITBUCKET_CLOUDZ CONNECTION_TYPE_BITBUCKET_SERVERZ&CONNECTION_TYPE_DEVOPS_CODE_REPOSITORYZCONNECTION_TYPE_VBSr�staticmethodr�propertyr�setterrrrr$r(r)rrrrrs<5








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

Youez - 2016 - github.com/yon3zu
LinuXploit