📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
devops
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/devops/models/__pycache__
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_or_update_git_ref_details.cpython-39.pyc
a ���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 @ sx e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�CreateOrUpdateGitRefDetailsz� The information needed to create a reference. If the reference already exists, then it can be used to update the reference. �BRANCH�TAGc K s( ddd�| _ ddd�| _d| _d| _dS )aw Initializes a new CreateOrUpdateGitRefDetails 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.CreateOrUpdateGitBranchDetails` * :class:`~oci.devops.models.CreateOrUpdateGitTagDetails` 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 CreateOrUpdateGitRefDetails. :type ref_name: str :param ref_type: The value to assign to the ref_type property of this CreateOrUpdateGitRefDetails. Allowed values for this property are: "BRANCH", "TAG" :type ref_type: str �str)�ref_name�ref_typeZrefName�refTypeN)Z swagger_typesZ attribute_map� _ref_name� _ref_type)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/devops/models/create_or_update_git_ref_details.py�__init__ s ��z$CreateOrUpdateGitRefDetails.__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 ZCreateOrUpdateGitBranchDetailsr ZCreateOrUpdateGitTagDetailsr Nr )Zobject_dictionary�typer r r �get_subtype; s z'CreateOrUpdateGitRefDetails.get_subtypec C s | j S )z� **[Required]** Gets the ref_name of this CreateOrUpdateGitRefDetails. The name of the reference to create or update. :return: The ref_name of this CreateOrUpdateGitRefDetails. :rtype: str �r �r r r r r K s z$CreateOrUpdateGitRefDetails.ref_namec C s || _ dS )z� Sets the ref_name of this CreateOrUpdateGitRefDetails. The name of the reference to create or update. :param ref_name: The ref_name of this CreateOrUpdateGitRefDetails. :type: str Nr )r r r r r r W s c C s | j S )a **[Required]** Gets the ref_type of this CreateOrUpdateGitRefDetails. The type of reference (BRANCH or TAG). Allowed values for this property are: "BRANCH", "TAG" :return: The ref_type of this CreateOrUpdateGitRefDetails. :rtype: str )r r r r r r c s z$CreateOrUpdateGitRefDetails.ref_typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the ref_type of this CreateOrUpdateGitRefDetails. The type of reference (BRANCH or TAG). :param ref_type: The ref_type of this CreateOrUpdateGitRefDetails. :type: str r r z5Invalid value for `ref_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r q s �c C s t | �S �N)r r r r r �__repr__� s z$CreateOrUpdateGitRefDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"CreateOrUpdateGitRefDetails.__eq__c C s | |k S r r r r r r �__ne__� s z"CreateOrUpdateGitRefDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZREF_TYPE_BRANCHZREF_TYPE_TAGr �staticmethodr �propertyr �setterr r r r r r r r r s"