ruạṛ
a N��f� � @ 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 ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�RepositoryRefSummaryz! Summary of a reference. c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new RepositoryRefSummary 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.RepositoryBranchSummary` * :class:`~oci.devops.models.RepositoryTagSummary` 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 RepositoryRefSummary. :type ref_name: str :param ref_type: The value to assign to the ref_type property of this RepositoryRefSummary. :type ref_type: str :param full_ref_name: The value to assign to the full_ref_name property of this RepositoryRefSummary. :type full_ref_name: str :param repository_id: The value to assign to the repository_id property of this RepositoryRefSummary. :type repository_id: str :param freeform_tags: The value to assign to the freeform_tags property of this RepositoryRefSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this RepositoryRefSummary. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zdict(str, dict(str, object)))�ref_name�ref_type� full_ref_name� repository_id� freeform_tags�defined_tags�refName�refType�fullRefName�repositoryId�freeformTags�definedTagsN)� swagger_types� attribute_map� _ref_name� _ref_type�_full_ref_name�_repository_id�_freeform_tags� _defined_tags)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/repository_ref_summary.py�__init__ s( $� � zRepositoryRefSummary.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r �BRANCH�RepositoryBranchSummary�TAG�RepositoryTagSummaryr Nr )�object_dictionary�typer r r �get_subtypeL s z RepositoryRefSummary.get_subtypec C s | j S )z� **[Required]** Gets the ref_name of this RepositoryRefSummary. Reference name inside a repository. :return: The ref_name of this RepositoryRefSummary. :rtype: str �r �r r r r r \ s zRepositoryRefSummary.ref_namec C s || _ dS )z� Sets the ref_name of this RepositoryRefSummary. Reference name inside a repository. :param ref_name: The ref_name of this RepositoryRefSummary. :type: str Nr( )r r r r r r h s c C s | j S )z� **[Required]** Gets the ref_type of this RepositoryRefSummary. The type of reference (BRANCH or TAG). :return: The ref_type of this RepositoryRefSummary. :rtype: str �r r) r r r r t s zRepositoryRefSummary.ref_typec C s || _ dS )z� Sets the ref_type of this RepositoryRefSummary. The type of reference (BRANCH or TAG). :param ref_type: The ref_type of this RepositoryRefSummary. :type: str Nr* )r r r r r r � s c C s | j S )z� **[Required]** Gets the full_ref_name of this RepositoryRefSummary. Unique full reference name inside a repository. :return: The full_ref_name of this RepositoryRefSummary. :rtype: str �r r) r r r r � s z"RepositoryRefSummary.full_ref_namec C s || _ dS )z� Sets the full_ref_name of this RepositoryRefSummary. Unique full reference name inside a repository. :param full_ref_name: The full_ref_name of this RepositoryRefSummary. :type: str Nr+ )r r r r r r � s c C s | j S )z� **[Required]** Gets the repository_id of this RepositoryRefSummary. The OCID of the repository containing the reference. :return: The repository_id of this RepositoryRefSummary. :rtype: str �r r) r r r r � s z"RepositoryRefSummary.repository_idc C s || _ dS )z� Sets the repository_id of this RepositoryRefSummary. The OCID of the repository containing the reference. :param repository_id: The repository_id of this RepositoryRefSummary. :type: str Nr, )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this RepositoryRefSummary. 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 RepositoryRefSummary. :rtype: dict(str, str) �r r) r r r r � s z"RepositoryRefSummary.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this RepositoryRefSummary. 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 RepositoryRefSummary. :type: dict(str, str) Nr- )r r r r r r � s c C s | j S )a� Gets the defined_tags of this RepositoryRefSummary. 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 RepositoryRefSummary. :rtype: dict(str, dict(str, object)) �r r) r r r r � s z!RepositoryRefSummary.defined_tagsc C s || _ dS )a� Sets the defined_tags of this RepositoryRefSummary. 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 RepositoryRefSummary. :type: dict(str, dict(str, object)) Nr. )r r r r r r � s c C s t | �S �N)r r) r r r �__repr__� s zRepositoryRefSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zRepositoryRefSummary.__eq__c C s | |k S r/ r r2 r r r �__ne__� s zRepositoryRefSummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �staticmethodr'