ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HostConfigurationMetricGroup� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�HostHardwareConfigurationz4 Hardware Configuration metric for the host c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new HostHardwareConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostHardwareConfiguration.metric_name` attribute of this class is ``HOST_HARDWARE_CONFIGURATION`` 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 HostHardwareConfiguration. 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 HostHardwareConfiguration. :type time_collected: datetime :param cpu_architecture: The value to assign to the cpu_architecture property of this HostHardwareConfiguration. :type cpu_architecture: str �strZdatetime)Zmetric_nameZtime_collected�cpu_architectureZ metricNameZ timeCollectedZcpuArchitectureNZHOST_HARDWARE_CONFIGURATION)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_cpu_architecture)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/opsi/models/host_hardware_configuration.py�__init__ s ��z"HostHardwareConfiguration.__init__c C s | j S )z� **[Required]** Gets the cpu_architecture of this HostHardwareConfiguration. Processor architecture used by the platform :return: The cpu_architecture of this HostHardwareConfiguration. :rtype: str �r �r r r r r 7 s z*HostHardwareConfiguration.cpu_architecturec C s || _ dS )z� Sets the cpu_architecture of this HostHardwareConfiguration. Processor architecture used by the platform :param cpu_architecture: The cpu_architecture of this HostHardwareConfiguration. :type: str Nr )r r r r r r C s c C s t | �S �N)r r r r r �__repr__O s z"HostHardwareConfiguration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__R s z HostHardwareConfiguration.__eq__c C s | |k S r r r r r r �__ne__X s z HostHardwareConfiguration.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s % r N) Zhost_configuration_metric_groupr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn