ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� RepositoryRef� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�RepositoryBranchz% Branch related information. c K s` dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d | _dS )a� Initializes a new RepositoryBranch object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.RepositoryBranch.ref_type` attribute of this class is ``BRANCH`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param ref_name: The value to assign to the ref_name property of this RepositoryBranch. :type ref_name: str :param ref_type: The value to assign to the ref_type property of this RepositoryBranch. Allowed values for this property are: "BRANCH", "TAG" :type ref_type: str :param full_ref_name: The value to assign to the full_ref_name property of this RepositoryBranch. :type full_ref_name: str :param repository_id: The value to assign to the repository_id property of this RepositoryBranch. :type repository_id: str :param freeform_tags: The value to assign to the freeform_tags property of this RepositoryBranch. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this RepositoryBranch. :type defined_tags: dict(str, dict(str, object)) :param commit_id: The value to assign to the commit_id property of this RepositoryBranch. :type commit_id: str �strzdict(str, str)zdict(str, dict(str, object)))Zref_nameZref_typeZ full_ref_nameZ repository_idZ freeform_tagsZdefined_tags� commit_idZrefNameZrefTypeZfullRefNameZrepositoryIdZfreeformTagsZdefinedTagsZcommitIdN�BRANCH) Z swagger_typesZ attribute_mapZ _ref_nameZ _ref_typeZ_full_ref_nameZ_repository_idZ_freeform_tagsZ _defined_tags� _commit_id)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/devops/models/repository_branch.py�__init__ s0 %�� zRepositoryBranch.__init__c C s | j S )z� **[Required]** Gets the commit_id of this RepositoryBranch. Commit ID pointed to by the new branch. :return: The commit_id of this RepositoryBranch. :rtype: str �r �r r r r r S s zRepositoryBranch.commit_idc C s || _ dS )z� Sets the commit_id of this RepositoryBranch. Commit ID pointed to by the new branch. :param commit_id: The commit_id of this RepositoryBranch. :type: str Nr )r r r r r r _ s c C s t | �S �N)r r r r r �__repr__k s zRepositoryBranch.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__n s zRepositoryBranch.__eq__c C s | |k S r r r r r r �__ne__t s zRepositoryBranch.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s A r N) Zrepository_refr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn