ruạṛ
a O��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostResourceStatistics� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�HostCpuStatisticsz" Contains CPU statistics. c K sV ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS ) a~ Initializes a new HostCpuStatistics object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostCpuStatistics.resource_name` attribute of this class is ``HOST_CPU_STATISTICS`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param usage: The value to assign to the usage property of this HostCpuStatistics. :type usage: float :param capacity: The value to assign to the capacity property of this HostCpuStatistics. :type capacity: float :param utilization_percent: The value to assign to the utilization_percent property of this HostCpuStatistics. :type utilization_percent: float :param usage_change_percent: The value to assign to the usage_change_percent property of this HostCpuStatistics. :type usage_change_percent: float :param resource_name: The value to assign to the resource_name property of this HostCpuStatistics. Allowed values for this property are: "HOST_CPU_STATISTICS", "HOST_MEMORY_STATISTICS" :type resource_name: str :param load: The value to assign to the load property of this HostCpuStatistics. :type load: oci.opsi.models.SummaryStatistics �float�str�SummaryStatistics)�usage�capacity�utilization_percent�usage_change_percent� resource_name�loadr r �utilizationPercent�usageChangePercent�resourceNamer N�HOST_CPU_STATISTICS)� swagger_types� attribute_map�_usage� _capacity�_utilization_percent�_usage_change_percent�_resource_name�_load)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/host_cpu_statistics.py�__init__ s* !� � zHostCpuStatistics.__init__c C s | j S )z� Gets the load of this HostCpuStatistics. :return: The load of this HostCpuStatistics. :rtype: oci.opsi.models.SummaryStatistics �r �r r r r! r J s zHostCpuStatistics.loadc C s || _ dS )z� Sets the load of this HostCpuStatistics. :param load: The load of this HostCpuStatistics. :type: oci.opsi.models.SummaryStatistics Nr# )r r r r r! r T s c C s t | �S �N)r r$ r r r! �__repr__^ s zHostCpuStatistics.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r! �__eq__a s zHostCpuStatistics.__eq__c C s | |k S r% r r( r r r! �__ne__g s zHostCpuStatistics.__ne__N)�__name__� __module__�__qualname__�__doc__r"