ruạṛ
a O��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 @ s4 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 edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�HostCpuHardwareConfigurationz8 CPU Hardware Configuration metric for the host 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 HostCpuHardwareConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostCpuHardwareConfiguration.metric_name` attribute of this class is ``HOST_CPU_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 HostCpuHardwareConfiguration. 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" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostCpuHardwareConfiguration. :type time_collected: datetime :param total_sockets: The value to assign to the total_sockets property of this HostCpuHardwareConfiguration. :type total_sockets: int :param vendor_name: The value to assign to the vendor_name property of this HostCpuHardwareConfiguration. :type vendor_name: str :param frequency_in_mhz: The value to assign to the frequency_in_mhz property of this HostCpuHardwareConfiguration. :type frequency_in_mhz: float :param cache_in_mb: The value to assign to the cache_in_mb property of this HostCpuHardwareConfiguration. :type cache_in_mb: float :param cpu_implementation: The value to assign to the cpu_implementation property of this HostCpuHardwareConfiguration. :type cpu_implementation: str :param model: The value to assign to the model property of this HostCpuHardwareConfiguration. :type model: str :param cpu_family: The value to assign to the cpu_family property of this HostCpuHardwareConfiguration. :type cpu_family: str :param cores_per_socket: The value to assign to the cores_per_socket property of this HostCpuHardwareConfiguration. :type cores_per_socket: int :param threads_per_socket: The value to assign to the threads_per_socket property of this HostCpuHardwareConfiguration. :type threads_per_socket: int :param hyper_threading_enabled: The value to assign to the hyper_threading_enabled property of this HostCpuHardwareConfiguration. :type hyper_threading_enabled: str �str�datetime�int�float)�metric_name�time_collected� total_sockets�vendor_name�frequency_in_mhz�cache_in_mb�cpu_implementation�model� cpu_family�cores_per_socket�threads_per_socket�hyper_threading_enabled� metricName� timeCollected�totalSockets� vendorName�frequencyInMhz� cacheInMB�cpuImplementationr � cpuFamily�coresPerSocket�threadsPerSocket�hyperThreadingEnabledN�HOST_CPU_HARDWARE_CONFIGURATION)� swagger_types� attribute_map�_metric_name�_time_collected�_total_sockets�_vendor_name�_frequency_in_mhz�_cache_in_mb�_cpu_implementation�_model�_cpu_family�_cores_per_socket�_threads_per_socket�_hyper_threading_enabled)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/host_cpu_hardware_configuration.py�__init__ sN 9��z%HostCpuHardwareConfiguration.__init__c C s | j S )z� Gets the total_sockets of this HostCpuHardwareConfiguration. Total number of CPU Sockets :return: The total_sockets of this HostCpuHardwareConfiguration. :rtype: int �r) �r3 r5 r5 r6 r t s z*HostCpuHardwareConfiguration.total_socketsc C s || _ dS )z� Sets the total_sockets of this HostCpuHardwareConfiguration. Total number of CPU Sockets :param total_sockets: The total_sockets of this HostCpuHardwareConfiguration. :type: int Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the vendor_name of this HostCpuHardwareConfiguration. Name of the CPU vendor :return: The vendor_name of this HostCpuHardwareConfiguration. :rtype: str �r* r9 r5 r5 r6 r � s z(HostCpuHardwareConfiguration.vendor_namec C s || _ dS )z� Sets the vendor_name of this HostCpuHardwareConfiguration. Name of the CPU vendor :param vendor_name: The vendor_name of this HostCpuHardwareConfiguration. :type: str Nr: )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the frequency_in_mhz of this HostCpuHardwareConfiguration. Clock frequency of the processor in megahertz :return: The frequency_in_mhz of this HostCpuHardwareConfiguration. :rtype: float �r+ r9 r5 r5 r6 r � s z-HostCpuHardwareConfiguration.frequency_in_mhzc C s || _ dS )z� Sets the frequency_in_mhz of this HostCpuHardwareConfiguration. Clock frequency of the processor in megahertz :param frequency_in_mhz: The frequency_in_mhz of this HostCpuHardwareConfiguration. :type: float Nr; )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the cache_in_mb of this HostCpuHardwareConfiguration. Size of cache memory in megabytes :return: The cache_in_mb of this HostCpuHardwareConfiguration. :rtype: float �r, r9 r5 r5 r6 r � s z(HostCpuHardwareConfiguration.cache_in_mbc C s || _ dS )z� Sets the cache_in_mb of this HostCpuHardwareConfiguration. Size of cache memory in megabytes :param cache_in_mb: The cache_in_mb of this HostCpuHardwareConfiguration. :type: float Nr<