ruạṛ
a N��f�i � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Ze d<d=� �Zejd>d=� �Ze d?d@� �Z e jdAd@� �Z e dBdC� �Z!e!jdDdC� �Z!e dEdF� �Z"e"jdGdF� �Z"e dHdI� �Z#e#jdJdI� �Z#e dKdL� �Z$e$jdMdL� �Z$e dNdO� �Z%e%jdPdO� �Z%dQdR� Z&dSdT� Z'dUdV� Z(dWS )X� RepositoryzF Repositories containing the source code to build and deploy. �MIRRORED�HOSTED�ACTIVE�CREATING�DELETED�DELETING�PUSH�COMMIT_UPDATESc K s� dddddddddddddddddddddddd�| _ 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 S )!aw 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 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", '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", "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", "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)) �str�MirrorRepositoryConfig�datetime�intz list[str]zdict(str, str)zdict(str, dict(str, object)))�id�name�compartment_id� namespace� project_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 � compartmentIdr � projectId�projectName�sshUrl�httpUrlr � defaultBranch�repositoryType�mirrorRepositoryConfig�timeCreated�timeUpdated�lifecycleState�lifecyleDetails�branchCount�commitCount�sizeInBytes�triggerBuildEvents�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_name�_compartment_id� _namespace�_project_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� rX ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/repository.py�__init__0 s� i��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? �rV rX rX rY 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 Nr[ )rV r rX rX rY r � s c C s | j S )z� Gets the name of this Repository. Unique name of a repository. This value is mutable. :return: The name of this Repository. :rtype: str �r@ r\ rX rX rY r � s zRepository.namec C s || _ dS )z� Sets the name of this Repository. Unique name of a repository. This value is mutable. :param name: The name of this Repository. :type: str Nr] )rV r rX rX rY 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 �rA r\ rX rX rY 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 Nr^ )rV r rX rX rY r s c C s | j S )z� Gets the namespace of this Repository. Tenancy unique namespace. :return: The namespace of this Repository. :rtype: str �rB r\ rX rX rY r , 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 Nr_ )rV r rX rX rY r 8 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 �rC r\ rX rX rY r D 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 Nr` )rV r rX rX rY r P 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 �rD r\ rX rX rY 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 Nra )rV r rX rX rY r h 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 �rE r\ rX rX rY r t 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 Nrb )rV r rX rX rY 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 �rF r\ rX rX rY 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 Nrc )rV r rX rX rY 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 �rG r\ rX rX rY 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 Nrd )rV r rX rX rY 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 �rH r\ rX rX rY 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 Nre )rV r rX rX rY r � s c C s | j S )a� 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. Allowed values for this property are: "MIRRORED", "HOSTED", '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 )rI r\ rX rX rY r � s zRepository.repository_typec C s ddg}t ||�sd}|| _dS )aS 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. :param repository_type: The repository_type of this Repository. :type: str r r �UNKNOWN_ENUM_VALUEN)r rI )rV r �allowed_valuesrX rX rY 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 �rJ r\ rX rX rY 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 Nrh )rV r rX rX rY r 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 �rK r\ rX rX rY r s zRepository.time_createdc C s || _ 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 Nri )rV r rX rX rY r s c C s | j S )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 �rL r\ rX rX rY r & s zRepository.time_updatedc C s || _ 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 Nrj )rV r rX rX rY r 4 s c C s | j S )a� Gets the lifecycle_state of this Repository. The current state of the repository. Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "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 )rM r\ rX rX rY r! B s zRepository.lifecycle_statec C s g d�}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 r r r rf N)r rM )rV r! rg rX rX rY r! Q s c C s | j S )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 �rN r\ rX rX rY r"