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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )ÚShapeConfigzP
    Determines the size and amount of resources available to the instance.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÙ  
        Initializes a new ShapeConfig object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param ocpus:
            The value to assign to the ocpus property of this ShapeConfig.
        :type ocpus: float

        :param memory_in_gbs:
            The value to assign to the memory_in_gbs property of this ShapeConfig.
        :type memory_in_gbs: float

        Úfloat)ÚocpusÚmemory_in_gbsr   ZmemoryInGBsN)Zswagger_typesZattribute_mapÚ_ocpusÚ_memory_in_gbs)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/devops/models/shape_config.pyÚ__init__   s   þþ
zShapeConfig.__init__c                 C   ó   | j S )zÉ
        **[Required]** Gets the ocpus of this ShapeConfig.
        The total number of OCPUs available to the instance.


        :return: The ocpus of this ShapeConfig.
        :rtype: float
        ©r
   ©r   r   r   r   r   -   ó   
zShapeConfig.ocpusc                 C   ó
   || _ dS )z¾
        Sets the ocpus of this ShapeConfig.
        The total number of OCPUs available to the instance.


        :param ocpus: The ocpus of this ShapeConfig.
        :type: float
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )zÙ
        Gets the memory_in_gbs of this ShapeConfig.
        The total amount of memory available to the instance, in gigabytes.


        :return: The memory_in_gbs of this ShapeConfig.
        :rtype: float
        ©r   r   r   r   r   r	   E   r   zShapeConfig.memory_in_gbsc                 C   r   )zå
        Sets the memory_in_gbs of this ShapeConfig.
        The total amount of memory available to the instance, in gigabytes.


        :param memory_in_gbs: The memory_in_gbs of this ShapeConfig.
        :type: float
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zShapeConfig.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zShapeConfig.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zShapeConfig.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   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   