📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
container_instances
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/container_instances/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_container_volume_details.pyc
a N��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 )�CreateContainerVolumeDetailsz} A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance. �EMPTYDIR� CONFIGFILEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new CreateContainerVolumeDetails 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.CreateContainerConfigFileVolumeDetails` * :class:`~oci.container_instances.models.CreateContainerEmptyDirVolumeDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CreateContainerVolumeDetails. :type name: str :param volume_type: The value to assign to the volume_type property of this CreateContainerVolumeDetails. Allowed values for this property are: "EMPTYDIR", "CONFIGFILE" :type volume_type: str �str)�name�volume_typer � volumeTypeN)� swagger_types� attribute_map�_name�_volume_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_instances/models/create_container_volume_details.py�__init__ s ��z%CreateContainerVolumeDetails.__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 �&CreateContainerConfigFileVolumeDetailsr �$CreateContainerEmptyDirVolumeDetailsr Nr )�object_dictionary�typer r r �get_subtype: s z(CreateContainerVolumeDetails.get_subtypec C s | j S )z� **[Required]** Gets the name of this CreateContainerVolumeDetails. The name of the volume. This has be unique cross single ContainerInstance. :return: The name of this CreateContainerVolumeDetails. :rtype: str �r �r r r r r J s z!CreateContainerVolumeDetails.namec C s || _ dS )z� Sets the name of this CreateContainerVolumeDetails. The name of the volume. This has be unique cross single ContainerInstance. :param name: The name of this CreateContainerVolumeDetails. :type: str Nr )r r r r r r V s c C s | j S )a **[Required]** Gets the volume_type of this CreateContainerVolumeDetails. The type of volume. Allowed values for this property are: "EMPTYDIR", "CONFIGFILE" :return: The volume_type of this CreateContainerVolumeDetails. :rtype: str )r r r r r r b s z(CreateContainerVolumeDetails.volume_typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the volume_type of this CreateContainerVolumeDetails. The type of volume. :param volume_type: The volume_type of this CreateContainerVolumeDetails. :type: str r r z;Invalid value for `volume_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r p s ��c C s t | �S �N)r r r r r �__repr__� s z%CreateContainerVolumeDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#CreateContainerVolumeDetails.__eq__c C s | |k S r r r# r r r �__ne__� s z#CreateContainerVolumeDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�VOLUME_TYPE_EMPTYDIR�VOLUME_TYPE_CONFIGFILEr �staticmethodr �propertyr �setterr r! r% r&