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	dd„ Z
dd„ Zdd„ ZdS )ÚNvdimmz+
    The asset's NVDIMM configuration.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )aQ  
        Initializes a new Nvdimm object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param label:
            The value to assign to the label property of this Nvdimm.
        :type label: str

        :param unit_number:
            The value to assign to the unit_number property of this Nvdimm.
        :type unit_number: int

        :param controller_key:
            The value to assign to the controller_key property of this Nvdimm.
        :type controller_key: int

        ÚstrÚint)ÚlabelÚunit_numberÚcontroller_keyr	   Z
unitNumberZcontrollerKeyN)Zswagger_typesZattribute_mapÚ_labelÚ_unit_numberÚ_controller_key)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/cloud_bridge/models/nvdimm.pyÚ__init__   s   ýý
zNvdimm.__init__c                 C   ó   | j S )z²
        Gets the label of this Nvdimm.
        Provides a label and summary information for the device.


        :return: The label of this Nvdimm.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   ó   
zNvdimm.labelc                 C   ó
   || _ dS )z¶
        Sets the label of this Nvdimm.
        Provides a label and summary information for the device.


        :param label: The label of this Nvdimm.
        :type: str
        Nr   )r   r	   r   r   r   r	   @   ó   

c                 C   r   )z 
        Gets the unit_number of this Nvdimm.
        The unit number of NVDIMM.


        :return: The unit_number of this Nvdimm.
        :rtype: int
        ©r   r   r   r   r   r
   L   r   zNvdimm.unit_numberc                 C   r   )zª
        Sets the unit_number of this Nvdimm.
        The unit number of NVDIMM.


        :param unit_number: The unit_number of this Nvdimm.
        :type: int
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z›
        Gets the controller_key of this Nvdimm.
        Controller key.


        :return: The controller_key of this Nvdimm.
        :rtype: int
        ©r   r   r   r   r   r   d   r   zNvdimm.controller_keyc                 C   r   )z¨
        Sets the controller_key of this Nvdimm.
        Controller key.


        :param controller_key: The controller_key of this Nvdimm.
        :type: int
        Nr   )r   r   r   r   r   r   p   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__|   s   zNvdimm.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zNvdimm.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zNvdimm.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r!   r"   r   r   r   r   r      s$    "





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   