ruạṛ
a ���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 )�HostStorageStatisticsz& Contains storage statistics. c K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )a Initializes a new HostStorageStatistics object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostStorageStatistics.resource_name` attribute of this class is ``HOST_STORAGE_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 HostStorageStatistics. :type usage: float :param capacity: The value to assign to the capacity property of this HostStorageStatistics. :type capacity: float :param utilization_percent: The value to assign to the utilization_percent property of this HostStorageStatistics. :type utilization_percent: float :param usage_change_percent: The value to assign to the usage_change_percent property of this HostStorageStatistics. :type usage_change_percent: float :param resource_name: The value to assign to the resource_name property of this HostStorageStatistics. Allowed values for this property are: "HOST_CPU_STATISTICS", "HOST_MEMORY_STATISTICS", "HOST_STORAGE_STATISTICS", "HOST_NETWORK_STATISTICS" :type resource_name: str :param filesystem_available_in_percent: The value to assign to the filesystem_available_in_percent property of this HostStorageStatistics. :type filesystem_available_in_percent: float �float�str)�usage�capacityZutilization_percentZusage_change_percent� resource_name�filesystem_available_in_percentr r ZutilizationPercentZusageChangePercentZresourceNameZfilesystemAvailableInPercentNZHOST_STORAGE_STATISTICS)Z swagger_typesZ attribute_mapZ_usageZ _capacityZ_utilization_percentZ_usage_change_percentZ_resource_name� _filesystem_available_in_percent)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/opsi/models/host_storage_statistics.py�__init__ s* !� � zHostStorageStatistics.__init__c C s | j S )z� Gets the filesystem_available_in_percent of this HostStorageStatistics. :return: The filesystem_available_in_percent of this HostStorageStatistics. :rtype: float �r �r r r r r L s z5HostStorageStatistics.filesystem_available_in_percentc C s || _ dS )z� Sets the filesystem_available_in_percent of this HostStorageStatistics. :param filesystem_available_in_percent: The filesystem_available_in_percent of this HostStorageStatistics. :type: float Nr )r r r r r r V s c C s t | �S �N)r r r r r �__repr__` s zHostStorageStatistics.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__c s zHostStorageStatistics.__eq__c C s | |k S r r r r r r �__ne__i s zHostStorageStatistics.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s : r N) Zhost_resource_statisticsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn