📂 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
›
container_instances
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/container_instances/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_image_pull_secret_details.cpython-39.pyc
a ���fY � @ 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 )�CreateImagePullSecretDetailsz] The image pull secrets for accessing private registry to pull images for containers �BASIC�VAULTc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new CreateImagePullSecretDetails 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.container_instances.models.CreateVaultImagePullSecretDetails` * :class:`~oci.container_instances.models.CreateBasicImagePullSecretDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param secret_type: The value to assign to the secret_type property of this CreateImagePullSecretDetails. Allowed values for this property are: "BASIC", "VAULT" :type secret_type: str :param registry_endpoint: The value to assign to the registry_endpoint property of this CreateImagePullSecretDetails. :type registry_endpoint: str �str)�secret_type�registry_endpoint� secretTypeZregistryEndpointN)Z swagger_typesZ attribute_map�_secret_type�_registry_endpoint)�self�kwargs� r �c/usr/lib/python3.9/site-packages/oci/container_instances/models/create_image_pull_secret_details.py�__init__ s ��z%CreateImagePullSecretDetails.__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 Z!CreateVaultImagePullSecretDetailsr Z!CreateBasicImagePullSecretDetailsr Nr )Zobject_dictionary�typer r r �get_subtype; s z(CreateImagePullSecretDetails.get_subtypec C s | j S )a **[Required]** Gets the secret_type of this CreateImagePullSecretDetails. The type of ImagePullSecret. Allowed values for this property are: "BASIC", "VAULT" :return: The secret_type of this CreateImagePullSecretDetails. :rtype: str )r �r r r r r K s z(CreateImagePullSecretDetails.secret_typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the secret_type of this CreateImagePullSecretDetails. The type of ImagePullSecret. :param secret_type: The secret_type of this CreateImagePullSecretDetails. :type: str r r z8Invalid value for `secret_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r Y s �c C s | j S )z� **[Required]** Gets the registry_endpoint of this CreateImagePullSecretDetails. The registry endpoint of the container image. :return: The registry_endpoint of this CreateImagePullSecretDetails. :rtype: str �r r r r r r j s z.CreateImagePullSecretDetails.registry_endpointc C s || _ dS )z� Sets the registry_endpoint of this CreateImagePullSecretDetails. The registry endpoint of the container image. :param registry_endpoint: The registry_endpoint of this CreateImagePullSecretDetails. :type: str Nr )r r r r r r v s c C s t | �S �N)r r r r r �__repr__� s z%CreateImagePullSecretDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#CreateImagePullSecretDetails.__eq__c C s | |k S r r r r r r �__ne__� s z#CreateImagePullSecretDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZSECRET_TYPE_BASICZSECRET_TYPE_VAULTr �staticmethodr �propertyr �setterr r r r r r r r r s"