o
    ɶd#                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zdd Zdd Zdd ZdS ) Diskz
    The assets disk.
    c                 K   sZ   dddddddd| _ dddddd	d
d| _d| _d| _d| _d| _d| _d| _d| _dS )a7  
        Initializes a new Disk object with values from keyword arguments.
        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 Disk.
        :type name: str

        :param boot_order:
            The value to assign to the boot_order property of this Disk.
        :type boot_order: int

        :param uuid:
            The value to assign to the uuid property of this Disk.
        :type uuid: str

        :param uuid_lun:
            The value to assign to the uuid_lun property of this Disk.
        :type uuid_lun: str

        :param size_in_mbs:
            The value to assign to the size_in_mbs property of this Disk.
        :type size_in_mbs: int

        :param location:
            The value to assign to the location property of this Disk.
        :type location: str

        :param persistent_mode:
            The value to assign to the persistent_mode property of this Disk.
        :type persistent_mode: str

        strint)name
boot_orderuuiduuid_lunsize_in_mbslocationpersistent_moder	   Z	bootOrderr   ZuuidLunZ	sizeInMBsr   ZpersistentModeN)	Zswagger_typesZattribute_map_name_boot_order_uuid	_uuid_lun_size_in_mbs	_location_persistent_mode)selfkwargs r   @usr/lib/python3.10/site-packages/oci/cloud_bridge/models/disk.py__init__   s.   #

zDisk.__init__c                 C      | j S )z~
        Gets the name of this Disk.
        Disk name.


        :return: The name of this Disk.
        :rtype: str
        r   r   r   r   r   r	   P      
z	Disk.namec                 C   
   || _ dS )z
        Sets the name of this Disk.
        Disk name.


        :param name: The name of this Disk.
        :type: str
        Nr   )r   r	   r   r   r   r	   \      

c                 C   r   )z
        Gets the boot_order of this Disk.
        Order of boot volumes.


        :return: The boot_order of this Disk.
        :rtype: int
        r   r   r   r   r   r
   h   r   zDisk.boot_orderc                 C   r    )z
        Sets the boot_order of this Disk.
        Order of boot volumes.


        :param boot_order: The boot_order of this Disk.
        :type: int
        Nr"   )r   r
   r   r   r   r
   t   r!   c                 C   r   )z
        Gets the uuid of this Disk.
        Disk UUID for the virtual disk, if available.


        :return: The uuid of this Disk.
        :rtype: str
        r   r   r   r   r   r      r   z	Disk.uuidc                 C   r    )z
        Sets the uuid of this Disk.
        Disk UUID for the virtual disk, if available.


        :param uuid: The uuid of this Disk.
        :type: str
        Nr#   )r   r   r   r   r   r      r!   c                 C   r   )z
        Gets the uuid_lun of this Disk.
        Disk UUID LUN for the virtual disk, if available.


        :return: The uuid_lun of this Disk.
        :rtype: str
        r   r   r   r   r   r      r   zDisk.uuid_lunc                 C   r    )z
        Sets the uuid_lun of this Disk.
        Disk UUID LUN for the virtual disk, if available.


        :param uuid_lun: The uuid_lun of this Disk.
        :type: str
        Nr$   )r   r   r   r   r   r      r!   c                 C   r   )z
        Gets the size_in_mbs of this Disk.
        The size of the volume in MBs.


        :return: The size_in_mbs of this Disk.
        :rtype: int
        r   r   r   r   r   r      r   zDisk.size_in_mbsc                 C   r    )z
        Sets the size_in_mbs of this Disk.
        The size of the volume in MBs.


        :param size_in_mbs: The size_in_mbs of this Disk.
        :type: int
        Nr%   )r   r   r   r   r   r      r!   c                 C   r   )z
        Gets the location of this Disk.
        Location of the boot/data volume.


        :return: The location of this Disk.
        :rtype: str
        r   r   r   r   r   r      r   zDisk.locationc                 C   r    )z
        Sets the location of this Disk.
        Location of the boot/data volume.


        :param location: The location of this Disk.
        :type: str
        Nr&   )r   r   r   r   r   r      r!   c                 C   r   )z
        Gets the persistent_mode of this Disk.
        The disk persistent mode.


        :return: The persistent_mode of this Disk.
        :rtype: str
        r   r   r   r   r   r      r   zDisk.persistent_modec                 C   r    )z
        Sets the persistent_mode of this Disk.
        The disk persistent mode.


        :param persistent_mode: The persistent_mode of this Disk.
        :type: str
        Nr'   )r   r   r   r   r   r      r!   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zDisk.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zDisk.__eq__c                 C   s
   | |k S r(   r   r+   r   r   r   __ne__  s   
zDisk.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r   r   r   r)   r-   r.   r   r   r   r   r      sD    >













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   