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 :  /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/repository_ref.cpython-39.pyc
a

���fw#�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdd�Zedd��Ze	dd	��Z
e
jd
d	��Z
e	dd��Zejd
d��Ze	dd��Z
e
jdd��Z
e	dd��Zejdd��Ze	dd��Zejdd��Ze	dd��Zejdd��Zdd�Zdd�Zdd�Zd S)!�
RepositoryRefz3
    Reference object with name and commit ID.
    �BRANCH�TAGcKsPddddddd�|_ddddd	d
d�|_d|_d|_d|_d|_d|_d|_dS)a
        Initializes a new RepositoryRef 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.RepositoryBranch`
        * :class:`~oci.devops.models.RepositoryTag`

        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 RepositoryRef.
        :type ref_name: str

        :param ref_type:
            The value to assign to the ref_type property of this RepositoryRef.
            Allowed values for this property are: "BRANCH", "TAG", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type ref_type: str

        :param full_ref_name:
            The value to assign to the full_ref_name property of this RepositoryRef.
        :type full_ref_name: str

        :param repository_id:
            The value to assign to the repository_id property of this RepositoryRef.
        :type repository_id: str

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

        :param defined_tags:
            The value to assign to the defined_tags property of this RepositoryRef.
        :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_tagsZrefName�refTypeZfullRefNameZrepositoryIdZfreeformTagsZdefinedTagsN)Z
swagger_typesZ
attribute_map�	_ref_name�	_ref_type�_full_ref_name�_repository_id�_freeform_tags�
_defined_tags)�self�kwargs�r�D/usr/lib/python3.9/site-packages/oci/devops/models/repository_ref.py�__init__s(&�
�	zRepositoryRef.__init__cCs(|d}|dkrdS|dkr dSdSdS)z�
        Given the hash representation of a subtype of this class,
        use the info in the hash to return the class of the subtype.
        rrZRepositoryBranchrZ
RepositoryTagrNr)Zobject_dictionary�typerrr�get_subtypeXszRepositoryRef.get_subtypecCs|jS)z�
        **[Required]** Gets the ref_name of this RepositoryRef.
        Unique reference name inside a repository.


        :return: The ref_name of this RepositoryRef.
        :rtype: str
        �r�rrrrr
hs
zRepositoryRef.ref_namecCs
||_dS)z�
        Sets the ref_name of this RepositoryRef.
        Unique reference name inside a repository.


        :param ref_name: The ref_name of this RepositoryRef.
        :type: str
        Nr)rr
rrrr
ts
cCs|jS)aw
        **[Required]** Gets the ref_type of this RepositoryRef.
        The type of reference (BRANCH or TAG).

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


        :return: The ref_type of this RepositoryRef.
        :rtype: str
        )rrrrrr�s
zRepositoryRef.ref_typecCs ddg}t||�sd}||_dS)z�
        Sets the ref_type of this RepositoryRef.
        The type of reference (BRANCH or TAG).


        :param ref_type: The ref_type of this RepositoryRef.
        :type: str
        rrZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr�s

cCs|jS)z�
        **[Required]** Gets the full_ref_name of this RepositoryRef.
        Unique full reference name inside a repository.


        :return: The full_ref_name of this RepositoryRef.
        :rtype: str
        �rrrrrr�s
zRepositoryRef.full_ref_namecCs
||_dS)z�
        Sets the full_ref_name of this RepositoryRef.
        Unique full reference name inside a repository.


        :param full_ref_name: The full_ref_name of this RepositoryRef.
        :type: str
        Nr )rrrrrr�s
cCs|jS)z�
        **[Required]** Gets the repository_id of this RepositoryRef.
        The OCID of the repository containing the reference.


        :return: The repository_id of this RepositoryRef.
        :rtype: str
        �rrrrrr
�s
zRepositoryRef.repository_idcCs
||_dS)z�
        Sets the repository_id of this RepositoryRef.
        The OCID of the repository containing the reference.


        :param repository_id: The repository_id of this RepositoryRef.
        :type: str
        Nr!)rr
rrrr
�s
cCs|jS)a�
        Gets the freeform_tags of this RepositoryRef.
        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 RepositoryRef.
        :rtype: dict(str, str)
        �rrrrrr�szRepositoryRef.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this RepositoryRef.
        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 RepositoryRef.
        :type: dict(str, str)
        Nr")rrrrrr�scCs|jS)a�
        Gets the defined_tags of this RepositoryRef.
        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 RepositoryRef.
        :rtype: dict(str, dict(str, object))
        �rrrrrr�szRepositoryRef.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this RepositoryRef.
        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 RepositoryRef.
        :type: dict(str, dict(str, object))
        Nr#)rrrrrr�scCst|�S�N)rrrrr�__repr__szRepositoryRef.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__	szRepositoryRef.__eq__cCs
||kSr$rr'rrr�__ne__szRepositoryRef.__ne__N)�__name__�
__module__�__qualname__�__doc__ZREF_TYPE_BRANCHZREF_TYPE_TAGr�staticmethodr�propertyr
�setterrrr
rrr%r)r*rrrrrsB>
















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

Youez - 2016 - github.com/yon3zu
LinuXploit