| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd
d� Z dd
� Z
dd� ZdS )�ShapeConfigzP
Determines the size and amount of resources available to the instance.
c K s( ddd�| _ ddd�| _d| _d| _dS )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 ZmemoryInGBsN)Z
swagger_typesZ
attribute_map�_ocpus�_memory_in_gbs)�self�kwargs� r �B/usr/lib/python3.9/site-packages/oci/devops/models/shape_config.py�__init__ s ��zShapeConfig.__init__c C s | 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 - s
zShapeConfig.ocpusc C s
|| _ dS )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 s
c C s | j S )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 s
zShapeConfig.memory_in_gbsc C s
|| _ dS )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 s
c C s t | �S �N)r r r r r �__repr__] s zShapeConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zShapeConfig.__eq__c C s
| |k S r r r r r r �__ne__f s zShapeConfig.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s
r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s