📂 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: launch_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 )"�LaunchAttachVolumeDetailsz. The details of the volume to attach. c K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a> Initializes a new LaunchAttachVolumeDetails 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.LaunchAttachIScsiVolumeDetails` 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 LaunchAttachVolumeDetails. :type device: str :param display_name: The value to assign to the display_name property of this LaunchAttachVolumeDetails. :type display_name: str :param is_read_only: The value to assign to the is_read_only property of this LaunchAttachVolumeDetails. :type is_read_only: bool :param is_shareable: The value to assign to the is_shareable property of this LaunchAttachVolumeDetails. :type is_shareable: bool :param type: The value to assign to the type property of this LaunchAttachVolumeDetails. :type type: str :param volume_id: The value to assign to the volume_id property of this LaunchAttachVolumeDetails. :type volume_id: str :param launch_create_volume_details: The value to assign to the launch_create_volume_details property of this LaunchAttachVolumeDetails. :type launch_create_volume_details: oci.core.models.LaunchCreateVolumeDetails �str�boolZLaunchCreateVolumeDetails)�device�display_name�is_read_only�is_shareable�type� volume_id�launch_create_volume_detailsr ZdisplayNameZ isReadOnlyZisShareabler ZvolumeIdZlaunchCreateVolumeDetailsN) Z swagger_typesZ attribute_map�_device� _display_name� _is_read_only� _is_shareable�_type� _volume_id�_launch_create_volume_details)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/core/models/launch_attach_volume_details.py�__init__ s. '�� z"LaunchAttachVolumeDetails.__init__c C s | d }|dkrdS 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 ZiscsiZLaunchAttachIScsiVolumeDetailsr Nr )Zobject_dictionaryr r r r �get_subtypeT s z%LaunchAttachVolumeDetails.get_subtypec C s | j S )a Gets the device of this LaunchAttachVolumeDetails. The device name. To retrieve a list of devices for a given instance, see :func:`list_instance_devices`. :return: The device of this LaunchAttachVolumeDetails. :rtype: str �r �r r r r r a s z LaunchAttachVolumeDetails.devicec C s || _ dS )a Sets the device of this LaunchAttachVolumeDetails. The device name. To retrieve a list of devices for a given instance, see :func:`list_instance_devices`. :param device: The device of this LaunchAttachVolumeDetails. :type: str Nr )r r r r r r m s c C s | j S )a% Gets the display_name of this LaunchAttachVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this LaunchAttachVolumeDetails. :rtype: str �r r r r r r y s z&LaunchAttachVolumeDetails.display_namec C s || _ dS )a0 Sets the display_name of this LaunchAttachVolumeDetails. 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 LaunchAttachVolumeDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the is_read_only of this LaunchAttachVolumeDetails. Whether the attachment was created in read-only mode. :return: The is_read_only of this LaunchAttachVolumeDetails. :rtype: bool �r r r r r r � s z&LaunchAttachVolumeDetails.is_read_onlyc C s || _ dS )z� Sets the is_read_only of this LaunchAttachVolumeDetails. Whether the attachment was created in read-only mode. :param is_read_only: The is_read_only of this LaunchAttachVolumeDetails. :type: bool Nr )r r r r r r � s c C s | j S )a Gets the is_shareable of this LaunchAttachVolumeDetails. 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 LaunchAttachVolumeDetails. :rtype: bool �r r r r r r � s z&LaunchAttachVolumeDetails.is_shareablec C s || _ dS )a Sets the is_shareable of this LaunchAttachVolumeDetails. 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 LaunchAttachVolumeDetails. :type: bool Nr! )r r r r r r � s c C s | j S )z� **[Required]** Gets the type of this LaunchAttachVolumeDetails. The type of volume. Currently, the only supported value is "iscsi". :return: The type of this LaunchAttachVolumeDetails. :rtype: str �r r r r r r � s zLaunchAttachVolumeDetails.typec C s || _ dS )z� Sets the type of this LaunchAttachVolumeDetails. The type of volume. Currently, the only supported value is "iscsi". :param type: The type of this LaunchAttachVolumeDetails. :type: str Nr"