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__/repository.cpython-39.pyc
a

���fSt�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
Zdd�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd ��Zejd!d ��Zed"d#��Zejd$d#��Zed%d&��Zejd'd&��Zed(d)��Zejd*d)��Zed+d,��Zejd-d,��Zed.d/��Zejd0d/��Zed1d2��Zejd3d2��Zed4d5��Zejd6d5��Zed7d8��Z e jd9d8��Z ed:d;��Z!e!jd<d;��Z!ed=d>��Z"e"jd?d>��Z"ed@dA��Z#e#jdBdA��Z#edCdD��Z$e$jdEdD��Z$edFdG��Z%e%jdHdG��Z%edIdJ��Z&e&jdKdJ��Z&edLdM��Z'e'jdNdM��Z'edOdP��Z(e(jdQdP��Z(edRdS��Z)e)jdTdS��Z)edUdV��Z*e*jdWdV��Z*dXdY�Z+dZd[�Z,d\d]�Z-d^S)_�
RepositoryzF
    Repositories containing the source code to build and deploy.
    �MIRRORED�HOSTED�FORKED�ACTIVE�CREATING�DELETED�FAILED�DELETING�PUSH�PULL_REQUEST_CREATED�PULL_REQUEST_UPDATED�COMMIT_UPDATEScKsddddddddddddddddddddddddd�|_d	d
ddd
ddddddddddddddddddd d�|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_	d!|_
d!|_d!|_d!|_
d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!|_d!S)"ab
        Initializes a new Repository object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Repository.
        :type id: str

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

        :param compartment_id:
            The value to assign to the compartment_id property of this Repository.
        :type compartment_id: str

        :param namespace:
            The value to assign to the namespace property of this Repository.
        :type namespace: str

        :param project_id:
            The value to assign to the project_id property of this Repository.
        :type project_id: str

        :param parent_repository_id:
            The value to assign to the parent_repository_id property of this Repository.
        :type parent_repository_id: str

        :param project_name:
            The value to assign to the project_name property of this Repository.
        :type project_name: str

        :param ssh_url:
            The value to assign to the ssh_url property of this Repository.
        :type ssh_url: str

        :param http_url:
            The value to assign to the http_url property of this Repository.
        :type http_url: str

        :param description:
            The value to assign to the description property of this Repository.
        :type description: str

        :param default_branch:
            The value to assign to the default_branch property of this Repository.
        :type default_branch: str

        :param repository_type:
            The value to assign to the repository_type property of this Repository.
            Allowed values for this property are: "MIRRORED", "HOSTED", "FORKED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type repository_type: str

        :param mirror_repository_config:
            The value to assign to the mirror_repository_config property of this Repository.
        :type mirror_repository_config: oci.devops.models.MirrorRepositoryConfig

        :param time_created:
            The value to assign to the time_created property of this Repository.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Repository.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Repository.
            Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "FAILED", "DELETING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecyle_details:
            The value to assign to the lifecyle_details property of this Repository.
        :type lifecyle_details: str

        :param branch_count:
            The value to assign to the branch_count property of this Repository.
        :type branch_count: int

        :param commit_count:
            The value to assign to the commit_count property of this Repository.
        :type commit_count: int

        :param size_in_bytes:
            The value to assign to the size_in_bytes property of this Repository.
        :type size_in_bytes: int

        :param trigger_build_events:
            The value to assign to the trigger_build_events property of this Repository.
            Allowed values for items in this list are: "PUSH", "PULL_REQUEST_CREATED", "PULL_REQUEST_UPDATED", "COMMIT_UPDATES", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type trigger_build_events: list[str]

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Repository.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Repository.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this Repository.
        :type system_tags: dict(str, dict(str, object))

        �strZMirrorRepositoryConfigZdatetime�intz	list[str]zdict(str, str)zdict(str, dict(str, object)))�id�name�compartment_id�	namespace�
project_id�parent_repository_id�project_name�ssh_url�http_url�description�default_branch�repository_type�mirror_repository_config�time_created�time_updated�lifecycle_state�lifecyle_details�branch_count�commit_count�
size_in_bytes�trigger_build_events�
freeform_tags�defined_tags�system_tagsrrZ
compartmentIdrZ	projectIdZparentRepositoryIdZprojectNameZsshUrlZhttpUrlrZ
defaultBranchZrepositoryTypeZmirrorRepositoryConfigZtimeCreatedZtimeUpdatedZlifecycleStateZlifecyleDetailsZbranchCountZcommitCountZsizeInBytesZtriggerBuildEventsZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�_name�_compartment_id�
_namespace�_project_id�_parent_repository_id�
_project_name�_ssh_url�	_http_url�_description�_default_branch�_repository_type�_mirror_repository_config�
_time_created�
_time_updated�_lifecycle_state�_lifecyle_details�
_branch_count�
_commit_count�_size_in_bytes�_trigger_build_events�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs�rG�@/usr/lib/python3.9/site-packages/oci/devops/models/repository.py�__init__Bs�m��zRepository.__init__cCs|jS)z�
        **[Required]** Gets the id of this Repository.
        The OCID of the repository. This value is unique and immutable.


        :return: The id of this Repository.
        :rtype: str
        �r-�rErGrGrHr�s
z
Repository.idcCs
||_dS)z�
        Sets the id of this Repository.
        The OCID of the repository. This value is unique and immutable.


        :param id: The id of this Repository.
        :type: str
        NrJ)rErrGrGrHr	s
cCs|jS)z�
        Gets the name of this Repository.
        Name of the repository. Should be unique within the project. This value is mutable.


        :return: The name of this Repository.
        :rtype: str
        �r.rKrGrGrHrs
zRepository.namecCs
||_dS)z�
        Sets the name of this Repository.
        Name of the repository. Should be unique within the project. This value is mutable.


        :param name: The name of this Repository.
        :type: str
        NrL)rErrGrGrHr!s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this Repository.
        The OCID of the repository's compartment.


        :return: The compartment_id of this Repository.
        :rtype: str
        �r/rKrGrGrHr-s
zRepository.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this Repository.
        The OCID of the repository's compartment.


        :param compartment_id: The compartment_id of this Repository.
        :type: str
        NrM)rErrGrGrHr9s
cCs|jS)z�
        Gets the namespace of this Repository.
        Tenancy unique namespace.


        :return: The namespace of this Repository.
        :rtype: str
        �r0rKrGrGrHrEs
zRepository.namespacecCs
||_dS)z�
        Sets the namespace of this Repository.
        Tenancy unique namespace.


        :param namespace: The namespace of this Repository.
        :type: str
        NrN)rErrGrGrHrQs
cCs|jS)z�
        **[Required]** Gets the project_id of this Repository.
        The OCID of the DevOps project containing the repository.


        :return: The project_id of this Repository.
        :rtype: str
        �r1rKrGrGrHr]s
zRepository.project_idcCs
||_dS)z�
        Sets the project_id of this Repository.
        The OCID of the DevOps project containing the repository.


        :param project_id: The project_id of this Repository.
        :type: str
        NrO)rErrGrGrHris
cCs|jS)z�
        Gets the parent_repository_id of this Repository.
        The OCID of the parent repository.


        :return: The parent_repository_id of this Repository.
        :rtype: str
        �r2rKrGrGrHrus
zRepository.parent_repository_idcCs
||_dS)z�
        Sets the parent_repository_id of this Repository.
        The OCID of the parent repository.


        :param parent_repository_id: The parent_repository_id of this Repository.
        :type: str
        NrP)rErrGrGrHr�s
cCs|jS)z�
        Gets the project_name of this Repository.
        Unique project name in a namespace.


        :return: The project_name of this Repository.
        :rtype: str
        �r3rKrGrGrHr�s
zRepository.project_namecCs
||_dS)z�
        Sets the project_name of this Repository.
        Unique project name in a namespace.


        :param project_name: The project_name of this Repository.
        :type: str
        NrQ)rErrGrGrHr�s
cCs|jS)z�
        Gets the ssh_url of this Repository.
        SSH URL that you use to git clone, pull and push.


        :return: The ssh_url of this Repository.
        :rtype: str
        �r4rKrGrGrHr�s
zRepository.ssh_urlcCs
||_dS)z�
        Sets the ssh_url of this Repository.
        SSH URL that you use to git clone, pull and push.


        :param ssh_url: The ssh_url of this Repository.
        :type: str
        NrR)rErrGrGrHr�s
cCs|jS)z�
        Gets the http_url of this Repository.
        HTTP URL that you use to git clone, pull and push.


        :return: The http_url of this Repository.
        :rtype: str
        �r5rKrGrGrHr�s
zRepository.http_urlcCs
||_dS)z�
        Sets the http_url of this Repository.
        HTTP URL that you use to git clone, pull and push.


        :param http_url: The http_url of this Repository.
        :type: str
        NrS)rErrGrGrHr�s
cCs|jS)z�
        Gets the description of this Repository.
        Details of the repository. Avoid entering confidential information.


        :return: The description of this Repository.
        :rtype: str
        �r6rKrGrGrHr�s
zRepository.descriptioncCs
||_dS)z�
        Sets the description of this Repository.
        Details of the repository. Avoid entering confidential information.


        :param description: The description of this Repository.
        :type: str
        NrT)rErrGrGrHr�s
cCs|jS)z�
        Gets the default_branch of this Repository.
        The default branch of the repository.


        :return: The default_branch of this Repository.
        :rtype: str
        �r7rKrGrGrHr�s
zRepository.default_branchcCs
||_dS)z�
        Sets the default_branch of this Repository.
        The default branch of the repository.


        :param default_branch: The default_branch of this Repository.
        :type: str
        NrU)rErrGrGrHr�s
cCs|jS)aO
        Gets the repository_type of this Repository.
        Type of repository:
        MIRRORED - Repository created by mirroring an existing repository.
        HOSTED - Repository created and hosted using OCI DevOps code repository.
        FORKED - Repository created by forking an existing repository.

        Allowed values for this property are: "MIRRORED", "HOSTED", "FORKED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The repository_type of this Repository.
        :rtype: str
        )r8rKrGrGrHr szRepository.repository_typecCs gd�}t||�sd}||_dS)a�
        Sets the repository_type of this Repository.
        Type of repository:
        MIRRORED - Repository created by mirroring an existing repository.
        HOSTED - Repository created and hosted using OCI DevOps code repository.
        FORKED - Repository created by forking an existing repository.


        :param repository_type: The repository_type of this Repository.
        :type: str
        )rrr	�UNKNOWN_ENUM_VALUEN)rr8)rEr �allowed_valuesrGrGrHr s

cCs|jS)z�
        Gets the mirror_repository_config of this Repository.

        :return: The mirror_repository_config of this Repository.
        :rtype: oci.devops.models.MirrorRepositoryConfig
        �r9rKrGrGrHr!)sz#Repository.mirror_repository_configcCs
||_dS)z�
        Sets the mirror_repository_config of this Repository.

        :param mirror_repository_config: The mirror_repository_config of this Repository.
        :type: oci.devops.models.MirrorRepositoryConfig
        NrX)rEr!rGrGrHr!3scCs|jS)a
        Gets the time_created of this Repository.
        The time the repository was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_created of this Repository.
        :rtype: datetime
        �r:rKrGrGrHr"=szRepository.time_createdcCs
||_dS)a
        Sets the time_created of this Repository.
        The time the repository was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_created: The time_created of this Repository.
        :type: datetime
        NrY)rEr"rGrGrHr"KscCs|jS)a
        Gets the time_updated of this Repository.
        The time the repository was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_updated of this Repository.
        :rtype: datetime
        �r;rKrGrGrHr#YszRepository.time_updatedcCs
||_dS)a
        Sets the time_updated of this Repository.
        The time the repository was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_updated: The time_updated of this Repository.
        :type: datetime
        NrZ)rEr#rGrGrHr#gscCs|jS)a�
        Gets the lifecycle_state of this Repository.
        The current state of the repository.

        Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "FAILED", "DELETING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Repository.
        :rtype: str
        )r<rKrGrGrHr$us
zRepository.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Repository.
        The current state of the repository.


        :param lifecycle_state: The lifecycle_state of this Repository.
        :type: str
        )r
rrr
rrVN)rr<)rEr$rWrGrGrHr$�s

cCs|jS)a)
        Gets the lifecyle_details of this Repository.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :return: The lifecyle_details of this Repository.
        :rtype: str
        �r=rKrGrGrHr%�s
zRepository.lifecyle_detailscCs
||_dS)a8
        Sets the lifecyle_details of this Repository.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :param lifecyle_details: The lifecyle_details of this Repository.
        :type: str
        Nr[)rEr%rGrGrHr%�s
cCs|jS)z�
        Gets the branch_count of this Repository.
        The count of the branches present in the repository.


        :return: The branch_count of this Repository.
        :rtype: int
        �r>rKrGrGrHr&�s
zRepository.branch_countcCs
||_dS)z�
        Sets the branch_count of this Repository.
        The count of the branches present in the repository.


        :param branch_count: The branch_count of this Repository.
        :type: int
        Nr\)rEr&rGrGrHr&�s
cCs|jS)z�
        Gets the commit_count of this Repository.
        The count of the commits present in the repository.


        :return: The commit_count of this Repository.
        :rtype: int
        �r?rKrGrGrHr'�s
zRepository.commit_countcCs
||_dS)z�
        Sets the commit_count of this Repository.
        The count of the commits present in the repository.


        :param commit_count: The commit_count of this Repository.
        :type: int
        Nr])rEr'rGrGrHr'�s
cCs|jS)z�
        Gets the size_in_bytes of this Repository.
        The size of the repository in bytes.


        :return: The size_in_bytes of this Repository.
        :rtype: int
        �r@rKrGrGrHr(�s
zRepository.size_in_bytescCs
||_dS)z�
        Sets the size_in_bytes of this Repository.
        The size of the repository in bytes.


        :param size_in_bytes: The size_in_bytes of this Repository.
        :type: int
        Nr^)rEr(rGrGrHr(�s
cCs|jS)a5
        Gets the trigger_build_events of this Repository.
        Trigger build events supported for this repository:
        PUSH - Build is triggered when a push event occurs.
        PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository.
        PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request.
        COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.

        Allowed values for items in this list are: "PUSH", "PULL_REQUEST_CREATED", "PULL_REQUEST_UPDATED", "COMMIT_UPDATES", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The trigger_build_events of this Repository.
        :rtype: list[str]
        �rArKrGrGrHr)�szRepository.trigger_build_eventscs0gd��|r&�fdd�|D�|dd�<||_dS)aV
        Sets the trigger_build_events of this Repository.
        Trigger build events supported for this repository:
        PUSH - Build is triggered when a push event occurs.
        PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository.
        PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request.
        COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository.


        :param trigger_build_events: The trigger_build_events of this Repository.
        :type: list[str]
        )rrrrcsg|]}t|��sdn|�qS)rV)r)�.0�x�rWrGrH�
<listcomp>�z3Repository.trigger_build_events.<locals>.<listcomp>Nr_)rEr)rGrbrHr)scCs|jS)a�
        Gets the freeform_tags of this Repository.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this Repository.
        :rtype: dict(str, str)
        �rBrKrGrGrHr*szRepository.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this Repository.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this Repository.
        :type: dict(str, str)
        Nre)rEr*rGrGrHr*'scCs|jS)a�
        Gets the defined_tags of this Repository.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this Repository.
        :rtype: dict(str, dict(str, object))
        �rCrKrGrGrHr+5szRepository.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this Repository.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this Repository.
        :type: dict(str, dict(str, object))
        Nrf)rEr+rGrGrHr+CscCs|jS)a�
        Gets the system_tags of this Repository.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this Repository.
        :rtype: dict(str, dict(str, object))
        �rDrKrGrGrHr,QszRepository.system_tagscCs
||_dS)a�
        Sets the system_tags of this Repository.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this Repository.
        :type: dict(str, dict(str, object))
        Nrg)rEr,rGrGrHr,_scCst|�S�N)rrKrGrGrH�__repr__mszRepository.__repr__cCs|durdS|j|jkS)NF)�__dict__�rE�otherrGrGrH�__eq__pszRepository.__eq__cCs
||kSrhrGrkrGrGrH�__ne__vszRepository.__ne__N).�__name__�
__module__�__qualname__�__doc__ZREPOSITORY_TYPE_MIRROREDZREPOSITORY_TYPE_HOSTEDZREPOSITORY_TYPE_FORKEDZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_DELETINGZTRIGGER_BUILD_EVENTS_PUSHZ)TRIGGER_BUILD_EVENTS_PULL_REQUEST_CREATEDZ)TRIGGER_BUILD_EVENTS_PULL_REQUEST_UPDATEDZ#TRIGGER_BUILD_EVENTS_COMMIT_UPDATESrI�propertyr�setterrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,rirmrnrGrGrGrHrs�<
























	
	































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

Youez - 2016 - github.com/yon3zu
LinuXploit