ruạṛ
a ���f4 � @ 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 )�OcpuUtilizationInfoz( Ocpu utilization for a VM host c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new OcpuUtilizationInfo object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param host: The value to assign to the host property of this OcpuUtilizationInfo. :type host: str :param ocpu_utilization_number: The value to assign to the ocpu_utilization_number property of this OcpuUtilizationInfo. :type ocpu_utilization_number: float :param ocpu_capacity_number: The value to assign to the ocpu_capacity_number property of this OcpuUtilizationInfo. :type ocpu_capacity_number: float �str�float)�host�ocpu_utilization_number�ocpu_capacity_numberr ZocpuUtilizationNumberZocpuCapacityNumberN)Z swagger_typesZ attribute_map�_host�_ocpu_utilization_number�_ocpu_capacity_number)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/blockchain/models/ocpu_utilization_info.py�__init__ s ��zOcpuUtilizationInfo.__init__c C s | j S )z� Gets the host of this OcpuUtilizationInfo. Host name of VM :return: The host of this OcpuUtilizationInfo. :rtype: str �r �r r r r r 4 s zOcpuUtilizationInfo.hostc C s || _ dS )z� Sets the host of this OcpuUtilizationInfo. Host name of VM :param host: The host of this OcpuUtilizationInfo. :type: str Nr )r r r r r r @ s c C s | j S )z� Gets the ocpu_utilization_number of this OcpuUtilizationInfo. Number of OCPU utilized :return: The ocpu_utilization_number of this OcpuUtilizationInfo. :rtype: float �r r r r r r L s z+OcpuUtilizationInfo.ocpu_utilization_numberc C s || _ dS )z� Sets the ocpu_utilization_number of this OcpuUtilizationInfo. Number of OCPU utilized :param ocpu_utilization_number: The ocpu_utilization_number of this OcpuUtilizationInfo. :type: float Nr )r r r r r r X s c C s | j S )z� Gets the ocpu_capacity_number of this OcpuUtilizationInfo. Number of total OCPU capacity on the host :return: The ocpu_capacity_number of this OcpuUtilizationInfo. :rtype: float �r r r r r r d s z(OcpuUtilizationInfo.ocpu_capacity_numberc C s || _ dS )z� Sets the ocpu_capacity_number of this OcpuUtilizationInfo. Number of total OCPU capacity on the host :param ocpu_capacity_number: The ocpu_capacity_number of this OcpuUtilizationInfo. :type: float Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zOcpuUtilizationInfo.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zOcpuUtilizationInfo.__eq__c C s | |k S r r r r r r �__ne__� s zOcpuUtilizationInfo.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"