ruạṛ
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 )�ImagePullSecretz] 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 ImagePullSecret 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.VaultImagePullSecret` * :class:`~oci.container_instances.models.BasicImagePullSecret` 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 ImagePullSecret. Allowed values for this property are: "BASIC", "VAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type secret_type: str :param registry_endpoint: The value to assign to the registry_endpoint property of this ImagePullSecret. :type registry_endpoint: str �str)�secret_type�registry_endpoint� secretTypeZregistryEndpointN)Z swagger_typesZ attribute_map�_secret_type�_registry_endpoint)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/container_instances/models/image_pull_secret.py�__init__ s ��zImagePullSecret.__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 ZVaultImagePullSecretr ZBasicImagePullSecretr Nr )Zobject_dictionary�typer r r �get_subtype<