📂 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
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: attach_volume_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 @ s� e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd � Zd!S )"�AttachVolumeDetailsz$ AttachVolumeDetails model. c K sZ dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new AttachVolumeDetails 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.core.models.AttachServiceDeterminedVolumeDetails` * :class:`~oci.core.models.AttachEmulatedVolumeDetails` * :class:`~oci.core.models.AttachIScsiVolumeDetails` * :class:`~oci.core.models.AttachParavirtualizedVolumeDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param device: The value to assign to the device property of this AttachVolumeDetails. :type device: str :param display_name: The value to assign to the display_name property of this AttachVolumeDetails. :type display_name: str :param instance_id: The value to assign to the instance_id property of this AttachVolumeDetails. :type instance_id: str :param is_read_only: The value to assign to the is_read_only property of this AttachVolumeDetails. :type is_read_only: bool :param is_shareable: The value to assign to the is_shareable property of this AttachVolumeDetails. :type is_shareable: bool :param type: The value to assign to the type property of this AttachVolumeDetails. :type type: str :param volume_id: The value to assign to the volume_id property of this AttachVolumeDetails. :type volume_id: str �str�bool)�device�display_name�instance_id�is_read_only�is_shareable�type� volume_idr ZdisplayNameZ instanceIdZ isReadOnlyZisShareabler ZvolumeIdN) Z swagger_typesZ attribute_map�_device� _display_name�_instance_id� _is_read_only� _is_shareable�_type� _volume_id)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/core/models/attach_volume_details.py�__init__ s. *�� zAttachVolumeDetails.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d S 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 Zservice_determinedZ$AttachServiceDeterminedVolumeDetailsZemulatedZAttachEmulatedVolumeDetailsZiscsiZAttachIScsiVolumeDetailsZparavirtualizedZ"AttachParavirtualizedVolumeDetailsr Nr )Zobject_dictionaryr r r r �get_subtypeW s zAttachVolumeDetails.get_subtypec C s | j S )z� Gets the device of this AttachVolumeDetails. The device name. To retrieve a list of devices for a given instance, see :func:`list_instance_devices`. :return: The device of this AttachVolumeDetails. :rtype: str �r �r r r r r m s zAttachVolumeDetails.devicec C s || _ dS )a Sets the device of this AttachVolumeDetails. The device name. To retrieve a list of devices for a given instance, see :func:`list_instance_devices`. :param device: The device of this AttachVolumeDetails. :type: str Nr )r r r r r r y s c C s | j S )a Gets the display_name of this AttachVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this AttachVolumeDetails. :rtype: str �r r r r r r � s z AttachVolumeDetails.display_namec C s || _ dS )a$ Sets the display_name of this AttachVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this AttachVolumeDetails. :type: str Nr )r r r r r r � s c C s | j S )a1 **[Required]** Gets the instance_id of this AttachVolumeDetails. The OCID of the instance. For AttachVolume operation, this is a required field for the request, see :func:`attach_volume`. :return: The instance_id of this AttachVolumeDetails. :rtype: str �r r r r r r � s zAttachVolumeDetails.instance_idc C s || _ dS )a, Sets the instance_id of this AttachVolumeDetails. The OCID of the instance. For AttachVolume operation, this is a required field for the request, see :func:`attach_volume`. :param instance_id: The instance_id of this AttachVolumeDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the is_read_only of this AttachVolumeDetails. Whether the attachment was created in read-only mode. :return: The is_read_only of this AttachVolumeDetails. :rtype: bool �r r r r r r � s z AttachVolumeDetails.is_read_onlyc C s || _ dS )z� Sets the is_read_only of this AttachVolumeDetails. Whether the attachment was created in read-only mode. :param is_read_only: The is_read_only of this AttachVolumeDetails. :type: bool Nr! )r r r r r r � s c C s | j S )a� Gets the is_shareable of this AttachVolumeDetails. Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :return: The is_shareable of this AttachVolumeDetails. :rtype: bool �r r r r r r � s z AttachVolumeDetails.is_shareablec C s || _ dS )a Sets the is_shareable of this AttachVolumeDetails. Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param is_shareable: The is_shareable of this AttachVolumeDetails. :type: bool Nr"