ruạṛ
a ���fSt � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd 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_UPDATESc K s ddddddddddddddddddddddddd�| _ d d ddd 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_tagsr r Z compartmentIdr Z projectIdZparentRepositoryIdZprojectNameZsshUrlZhttpUrlr Z defaultBranchZrepositoryTypeZmirrorRepositoryConfigZtimeCreatedZtimeUpdatedZlifecycleStateZlifecyleDetailsZbranchCountZcommitCountZsizeInBytesZtriggerBuildEventsZfreeformTagsZdefinedTagsZ 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__B s� m��zRepository.__init__c C s | j S )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- �rE rG rG rH r � s z Repository.idc C s || _ 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 )rE r rG rG rH r s c C s | j S )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. rK rG rG rH r s zRepository.namec C s || _ 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 )rE r rG rG rH r ! s c C s | j S )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/ rK rG rG rH r - s zRepository.compartment_idc C s || _ 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 )rE r rG rG rH r 9 s c C s | j S )z� Gets the namespace of this Repository. Tenancy unique namespace. :return: The namespace of this Repository. :rtype: str �r0 rK rG rG rH r E s zRepository.namespacec C s || _ dS )z� Sets the namespace of this Repository. Tenancy unique namespace. :param namespace: The namespace of this Repository. :type: str NrN )rE r rG rG rH r Q s c C s | j S )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 �r1 rK rG rG rH r ] s zRepository.project_idc C s || _ 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 )rE r rG rG rH r i s c C s | j S )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 �r2 rK rG rG rH r u s zRepository.parent_repository_idc C s || _ 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 )rE r rG rG rH r � s c C s | j S )z� Gets the project_name of this Repository. Unique project name in a namespace. :return: The project_name of this Repository. :rtype: str �r3 rK rG rG rH r � s zRepository.project_namec C s || _ 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 )rE r rG rG rH r � s c C s | j S )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 �r4 rK rG rG rH r � s zRepository.ssh_urlc C s || _ 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 )rE r rG rG rH r � s c C s | j S )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 �r5 rK rG rG rH r � s zRepository.http_urlc C s || _ 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 )rE r rG rG rH r � s c C s | j S )z� Gets the description of this Repository. Details of the repository. Avoid entering confidential information. :return: The description of this Repository. :rtype: str �r6 rK rG rG rH r � s zRepository.descriptionc C s || _ 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 )rE r rG rG rH r � s c C s | j S )z� Gets the default_branch of this Repository. The default branch of the repository. :return: The default_branch of this Repository. :rtype: str �r7 rK rG rG rH r � s zRepository.default_branchc C s || _ 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 )rE r rG rG rH r � s c C s | j S )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 )r8 rK rG rG rH r s zRepository.repository_typec C s g d�}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 )r r r �UNKNOWN_ENUM_VALUEN)r r8 )rE r �allowed_valuesrG rG rH r s c C s | j S )z� Gets the mirror_repository_config of this Repository. :return: The mirror_repository_config of this Repository. :rtype: oci.devops.models.MirrorRepositoryConfig �r9 rK rG rG rH r! ) s z#Repository.mirror_repository_configc C s || _ 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 )rE r! rG rG rH r! 3 s c C s | j S )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: rK rG rG rH r"