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 @ 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" :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�int�SummaryStatistics)�usage�capacity�utilization_percent�usage_change_percent� resource_name�free_memory�available_memory�huge_pages_total�huge_page_size_in_mb�huge_pages_free�huge_pages_reserved�loadr r �utilizationPercent�usageChangePercent�resourceName� freeMemory�availableMemory�hugePagesTotal�hugePageSizeInMB� hugePagesFree�hugePagesReservedr N�HOST_MEMORY_STATISTICS)� swagger_types� attribute_map�_usage� _capacity�_utilization_percent�_usage_change_percent�_resource_name�_free_memory�_available_memory�_huge_pages_total�_huge_page_size_in_mb�_huge_pages_free�_huge_pages_reserved�_load)�self�kwargs� r3 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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* �r1 r3 r3 r4 r t 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 Nr6 )r1 r r3 r3 r4 r ~ s c C s | j S )z� Gets the available_memory of this HostMemoryStatistics. :return: The available_memory of this HostMemoryStatistics. :rtype: float �r+ r7 r3 r3 r4 r � s z%HostMemoryStatistics.available_memoryc C s || _ dS )z� Sets the available_memory of this HostMemoryStatistics. :param available_memory: The available_memory of this HostMemoryStatistics. :type: float Nr8 )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the huge_pages_total of this HostMemoryStatistics. Total number of huge pages. :return: The huge_pages_total of this HostMemoryStatistics. :rtype: int �r, r7 r3 r3 r4 r � s z%HostMemoryStatistics.huge_pages_totalc C s || _ dS )z� Sets the huge_pages_total of this HostMemoryStatistics. Total number of huge pages. :param huge_pages_total: The huge_pages_total of this HostMemoryStatistics. :type: int Nr9 )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the huge_page_size_in_mb of this HostMemoryStatistics. Size of huge pages in megabytes. :return: The huge_page_size_in_mb of this HostMemoryStatistics. :rtype: float �r- r7 r3 r3 r4 r � s z)HostMemoryStatistics.huge_page_size_in_mbc C s || _ dS )z� Sets the huge_page_size_in_mb of this HostMemoryStatistics. Size of huge pages in megabytes. :param huge_page_size_in_mb: The huge_page_size_in_mb of this HostMemoryStatistics. :type: float Nr: )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the huge_pages_free of this HostMemoryStatistics. Total number of available huge pages. :return: The huge_pages_free of this HostMemoryStatistics. :rtype: int �r. r7 r3 r3 r4 r � s z$HostMemoryStatistics.huge_pages_freec C s || _ dS )z� Sets the huge_pages_free of this HostMemoryStatistics. Total number of available huge pages. :param huge_pages_free: The huge_pages_free of this HostMemoryStatistics. :type: int Nr; )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the huge_pages_reserved of this HostMemoryStatistics. Total number of huge pages which are used or reserved. :return: The huge_pages_reserved of this HostMemoryStatistics. :rtype: int �r/ r7 r3 r3 r4 r � s z(HostMemoryStatistics.huge_pages_reservedc C s || _ dS )z� Sets the huge_pages_reserved of this HostMemoryStatistics. Total number of huge pages which are used or reserved. :param huge_pages_reserved: The huge_pages_reserved of this HostMemoryStatistics. :type: int Nr<