ruạṛ
a ���f_ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostPerformanceMetricGroup� )�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� �Zdd� Z dd� Zdd� ZdS )�HostIoUsagez% Host IO Performance Metrics c K sj ddddddddd�| _ ddddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d | _ d| _d S )a Initializes a new HostIoUsage object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostIoUsage.metric_name` attribute of this class is ``HOST_IO_USAGE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this HostIoUsage. Allowed values for this property are: "HOST_CPU_USAGE", "HOST_MEMORY_USAGE", "HOST_NETWORK_ACTIVITY_SUMMARY", "HOST_TOP_PROCESSES", "HOST_FILESYSTEM_USAGE", "HOST_GPU_USAGE", "HOST_GPU_PROCESSES", "HOST_IO_USAGE", "HOST_CONTAINERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostIoUsage. :type time_collected: datetime :param mount_point: The value to assign to the mount_point property of this HostIoUsage. :type mount_point: str :param disk_bytes_read: The value to assign to the disk_bytes_read property of this HostIoUsage. :type disk_bytes_read: float :param disk_bytes_written: The value to assign to the disk_bytes_written property of this HostIoUsage. :type disk_bytes_written: float :param disk_iops_read: The value to assign to the disk_iops_read property of this HostIoUsage. :type disk_iops_read: float :param disk_iops_written: The value to assign to the disk_iops_written property of this HostIoUsage. :type disk_iops_written: float :param disk_iops: The value to assign to the disk_iops property of this HostIoUsage. :type disk_iops: float �strZdatetime�float)Zmetric_nameZtime_collected�mount_point�disk_bytes_read�disk_bytes_written�disk_iops_read�disk_iops_written� disk_iopsZ metricNameZ timeCollectedZ mountPointZ diskBytesReadZdiskBytesWrittenZdiskIopsReadZdiskIopsWrittenZdiskIopsNZ HOST_IO_USAGE) Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_mount_point�_disk_bytes_read�_disk_bytes_written�_disk_iops_read�_disk_iops_written� _disk_iops)�self�kwargs� r �A/usr/lib/python3.9/site-packages/oci/opsi/models/host_io_usage.py�__init__ s6 )��zHostIoUsage.__init__c C s | j S )z� Gets the mount_point of this HostIoUsage. Mount point :return: The mount_point of this HostIoUsage. :rtype: str �r �r r r r r Z s zHostIoUsage.mount_pointc C s || _ dS )z� Sets the mount_point of this HostIoUsage. Mount point :param mount_point: The mount_point of this HostIoUsage. :type: str Nr )r r r r r r f s c C s | j S )z� Gets the disk_bytes_read of this HostIoUsage. Bytes Read :return: The disk_bytes_read of this HostIoUsage. :rtype: float �r r r r r r r s zHostIoUsage.disk_bytes_readc C s || _ dS )z� Sets the disk_bytes_read of this HostIoUsage. Bytes Read :param disk_bytes_read: The disk_bytes_read of this HostIoUsage. :type: float Nr )r r r r r r ~ s c C s | j S )z� Gets the disk_bytes_written of this HostIoUsage. Bytes Written :return: The disk_bytes_written of this HostIoUsage. :rtype: float �r r r r r r � s zHostIoUsage.disk_bytes_writtenc C s || _ dS )z� Sets the disk_bytes_written of this HostIoUsage. Bytes Written :param disk_bytes_written: The disk_bytes_written of this HostIoUsage. :type: float Nr )r r r r r r � s c C s | j S )z� Gets the disk_iops_read of this HostIoUsage. Read transactions per second :return: The disk_iops_read of this HostIoUsage. :rtype: float �r r r r r r � s zHostIoUsage.disk_iops_readc C s || _ dS )z� Sets the disk_iops_read of this HostIoUsage. Read transactions per second :param disk_iops_read: The disk_iops_read of this HostIoUsage. :type: float Nr )r r r r r r � s c C s | j S )z� Gets the disk_iops_written of this HostIoUsage. Write transactions per second :return: The disk_iops_written of this HostIoUsage. :rtype: float �r r r r r r � s zHostIoUsage.disk_iops_writtenc C s || _ dS )z� Sets the disk_iops_written of this HostIoUsage. Write transactions per second :param disk_iops_written: The disk_iops_written of this HostIoUsage. :type: float Nr! )r r r r r r � s c C s | j S )z� Gets the disk_iops of this HostIoUsage. IO Transactions per second :return: The disk_iops of this HostIoUsage. :rtype: float �r r r r r r � s zHostIoUsage.disk_iopsc C s || _ dS )z� Sets the disk_iops of this HostIoUsage. IO Transactions per second :param disk_iops: The disk_iops of this HostIoUsage. :type: float Nr"