ruạṛ
a ���fv% � @ 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 @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �HostMemoryStatisticsz% Contains memory statistics. c K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new HostMemoryStatistics object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostMemoryStatistics.resource_name` attribute of this class is ``HOST_MEMORY_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 HostMemoryStatistics. :type usage: float :param capacity: The value to assign to the capacity property of this HostMemoryStatistics. :type capacity: float :param utilization_percent: The value to assign to the utilization_percent property of this HostMemoryStatistics. :type utilization_percent: float :param usage_change_percent: The value to assign to the usage_change_percent property of this HostMemoryStatistics. :type usage_change_percent: float :param resource_name: The value to assign to the resource_name property of this HostMemoryStatistics. Allowed values for this property are: "HOST_CPU_STATISTICS", "HOST_MEMORY_STATISTICS", "HOST_STORAGE_STATISTICS", "HOST_NETWORK_STATISTICS" :type resource_name: str :param free_memory: The value to assign to the free_memory property of this HostMemoryStatistics. :type free_memory: float :param available_memory: The value to assign to the available_memory property of this HostMemoryStatistics. :type available_memory: float :param huge_pages_total: The value to assign to the huge_pages_total property of this HostMemoryStatistics. :type huge_pages_total: int :param huge_page_size_in_mb: The value to assign to the huge_page_size_in_mb property of this HostMemoryStatistics. :type huge_page_size_in_mb: float :param huge_pages_free: The value to assign to the huge_pages_free property of this HostMemoryStatistics. :type huge_pages_free: int :param huge_pages_reserved: The value to assign to the huge_pages_reserved property of this HostMemoryStatistics. :type huge_pages_reserved: int :param load: The value to assign to the load property of this HostMemoryStatistics. :type load: oci.opsi.models.SummaryStatistics �float�str�intZSummaryStatistics)�usage�capacityZutilization_percentZusage_change_percent� resource_name�free_memory�available_memory�huge_pages_total�huge_page_size_in_mb�huge_pages_free�huge_pages_reserved�loadr r ZutilizationPercentZusageChangePercentZresourceNameZ freeMemoryZavailableMemoryZhugePagesTotalZhugePageSizeInMBZ hugePagesFreeZhugePagesReservedr NZHOST_MEMORY_STATISTICS)Z swagger_typesZ attribute_mapZ_usageZ _capacityZ_utilization_percentZ_usage_change_percentZ_resource_name�_free_memory�_available_memory�_huge_pages_total�_huge_page_size_in_mb�_huge_pages_free�_huge_pages_reserved�_load)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/opsi/models/host_memory_statistics.py�__init__ sN 9��zHostMemoryStatistics.__init__c C s | j S )z� Gets the free_memory of this HostMemoryStatistics. :return: The free_memory of this HostMemoryStatistics. :rtype: float �r �r r r r r v s z HostMemoryStatistics.free_memoryc C s || _ dS )z� Sets the free_memory of this HostMemoryStatistics. :param free_memory: The free_memory of this HostMemoryStatistics. :type: float Nr"