ruạṛ
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� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�OCPUsz� The details of the available and consumed CPU cores of the Autonomous Exadata Infrastructure instance, including consumption by database workload type. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new OCPUs object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param total_cpu: The value to assign to the total_cpu property of this OCPUs. :type total_cpu: float :param consumed_cpu: The value to assign to the consumed_cpu property of this OCPUs. :type consumed_cpu: float :param by_workload_type: The value to assign to the by_workload_type property of this OCPUs. :type by_workload_type: oci.database.models.WorkloadType �floatZWorkloadType)� total_cpu�consumed_cpu�by_workload_typeZtotalCpuZconsumedCpuZbyWorkloadTypeN)Z swagger_typesZ attribute_map� _total_cpu� _consumed_cpu�_by_workload_type)�self�kwargs� r �>/usr/lib/python3.9/site-packages/oci/database/models/ocp_us.py�__init__ s ��zOCPUs.__init__c C s | j S )z� Gets the total_cpu of this OCPUs. The total number of OCPUs in the Autonomous Exadata Infrastructure instance. :return: The total_cpu of this OCPUs. :rtype: float �r �r r r r r 4 s zOCPUs.total_cpuc C s || _ dS )z� Sets the total_cpu of this OCPUs. The total number of OCPUs in the Autonomous Exadata Infrastructure instance. :param total_cpu: The total_cpu of this OCPUs. :type: float Nr )r r r r r r @ s c C s | j S )z� Gets the consumed_cpu of this OCPUs. The total number of consumed OCPUs in the Autonomous Exadata Infrastructure instance. :return: The consumed_cpu of this OCPUs. :rtype: float �r r r r r r L s zOCPUs.consumed_cpuc C s || _ dS )z� Sets the consumed_cpu of this OCPUs. The total number of consumed OCPUs in the Autonomous Exadata Infrastructure instance. :param consumed_cpu: The consumed_cpu of this OCPUs. :type: float Nr )r r r r r r X s c C s | j S )z� Gets the by_workload_type of this OCPUs. :return: The by_workload_type of this OCPUs. :rtype: oci.database.models.WorkloadType �r r r r r r d s zOCPUs.by_workload_typec C s || _ dS )z� Sets the by_workload_type of this OCPUs. :param by_workload_type: The by_workload_type of this OCPUs. :type: oci.database.models.WorkloadType Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s zOCPUs.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zOCPUs.__eq__c C s | |k S r r r r r r �__ne__� s zOCPUs.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"