Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
opsi
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: host_network_activity_summary.cpython-39.opt-1.pyc
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 dd� Zdd� Zdd� Z dS )�HostNetworkActivitySummaryz6 Network Activity Summary metric for the host c K sV ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new HostNetworkActivitySummary object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostNetworkActivitySummary.metric_name` attribute of this class is ``HOST_NETWORK_ACTIVITY_SUMMARY`` 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 HostNetworkActivitySummary. 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 HostNetworkActivitySummary. :type time_collected: datetime :param interface_name: The value to assign to the interface_name property of this HostNetworkActivitySummary. :type interface_name: str :param all_network_read_in_mbps: The value to assign to the all_network_read_in_mbps property of this HostNetworkActivitySummary. :type all_network_read_in_mbps: float :param all_network_write_in_mbps: The value to assign to the all_network_write_in_mbps property of this HostNetworkActivitySummary. :type all_network_write_in_mbps: float :param all_network_io_in_mbps: The value to assign to the all_network_io_in_mbps property of this HostNetworkActivitySummary. :type all_network_io_in_mbps: float �strZdatetime�float)Zmetric_nameZtime_collected�interface_name�all_network_read_in_mbps�all_network_write_in_mbps�all_network_io_in_mbpsZ metricNameZ timeCollectedZ interfaceNameZallNetworkReadInMbpsZallNetworkWriteInMbpsZallNetworkIoInMbpsNZHOST_NETWORK_ACTIVITY_SUMMARY)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_interface_name�_all_network_read_in_mbps�_all_network_write_in_mbps�_all_network_io_in_mbps)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/opsi/models/host_network_activity_summary.py�__init__ s* !� � z#HostNetworkActivitySummary.__init__c C s | j S )z� Gets the interface_name of this HostNetworkActivitySummary. Name of the network interface :return: The interface_name of this HostNetworkActivitySummary. :rtype: str �r �r r r r r L s z)HostNetworkActivitySummary.interface_namec C s || _ dS )z� Sets the interface_name of this HostNetworkActivitySummary. Name of the network interface :param interface_name: The interface_name of this HostNetworkActivitySummary. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the all_network_read_in_mbps of this HostNetworkActivitySummary. All network interfaces read rate in Mbps :return: The all_network_read_in_mbps of this HostNetworkActivitySummary. :rtype: float �r r r r r r d s z3HostNetworkActivitySummary.all_network_read_in_mbpsc C s || _ dS )a Sets the all_network_read_in_mbps of this HostNetworkActivitySummary. All network interfaces read rate in Mbps :param all_network_read_in_mbps: The all_network_read_in_mbps of this HostNetworkActivitySummary. :type: float Nr )r r r r r r p s c C s | j S )z� Gets the all_network_write_in_mbps of this HostNetworkActivitySummary. All network interfaces write rate in Mbps :return: The all_network_write_in_mbps of this HostNetworkActivitySummary. :rtype: float �r r r r r r | s z4HostNetworkActivitySummary.all_network_write_in_mbpsc C s || _ dS )a Sets the all_network_write_in_mbps of this HostNetworkActivitySummary. All network interfaces write rate in Mbps :param all_network_write_in_mbps: The all_network_write_in_mbps of this HostNetworkActivitySummary. :type: float Nr )r r r r r r � s c C s | j S )z� Gets the all_network_io_in_mbps of this HostNetworkActivitySummary. All network interfaces IO rate in Mbps :return: The all_network_io_in_mbps of this HostNetworkActivitySummary. :rtype: float �r r r r r r � s z1HostNetworkActivitySummary.all_network_io_in_mbpsc C s || _ dS )a Sets the all_network_io_in_mbps of this HostNetworkActivitySummary. All network interfaces IO rate in Mbps :param all_network_io_in_mbps: The all_network_io_in_mbps of this HostNetworkActivitySummary. :type: float Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z#HostNetworkActivitySummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z!HostNetworkActivitySummary.__eq__c C s | |k S r r r r r r �__ne__� s z!HostNetworkActivitySummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r"