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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�HostNetworkConfigurationz3 Network Configuration metric for the host c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new HostNetworkConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostNetworkConfiguration.metric_name` attribute of this class is ``HOST_NETWORK_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 HostNetworkConfiguration. 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 HostNetworkConfiguration. :type time_collected: datetime :param interface_name: The value to assign to the interface_name property of this HostNetworkConfiguration. :type interface_name: str :param ip_address: The value to assign to the ip_address property of this HostNetworkConfiguration. :type ip_address: str :param mac_address: The value to assign to the mac_address property of this HostNetworkConfiguration. :type mac_address: str �strZdatetime)Zmetric_nameZtime_collected�interface_name� ip_address�mac_addressZ metricNameZ timeCollectedZ interfaceNameZ ipAddressZ macAddressNZHOST_NETWORK_CONFIGURATION)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_interface_name�_ip_address�_mac_address)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/opsi/models/host_network_configuration.py�__init__ s$ � �z!HostNetworkConfiguration.__init__c C s | j S )z� **[Required]** Gets the interface_name of this HostNetworkConfiguration. Name of the network interface :return: The interface_name of this HostNetworkConfiguration. :rtype: str �r �r r r r r E s z'HostNetworkConfiguration.interface_namec C s || _ dS )z� Sets the interface_name of this HostNetworkConfiguration. Name of the network interface :param interface_name: The interface_name of this HostNetworkConfiguration. :type: str Nr )r r r r r r Q s c C s | j S )z� **[Required]** Gets the ip_address of this HostNetworkConfiguration. IP address (IPv4 or IPv6) of the network interface :return: The ip_address of this HostNetworkConfiguration. :rtype: str �r r r r r r ] s z#HostNetworkConfiguration.ip_addressc C s || _ dS )z� Sets the ip_address of this HostNetworkConfiguration. IP address (IPv4 or IPv6) of the network interface :param ip_address: The ip_address of this HostNetworkConfiguration. :type: str Nr )r r r r r r i s c C s | j S )a� Gets the mac_address of this HostNetworkConfiguration. MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS :return: The mac_address of this HostNetworkConfiguration. :rtype: str �r r r r r r u s z$HostNetworkConfiguration.mac_addressc C s || _ dS )a� Sets the mac_address of this HostNetworkConfiguration. MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS :param mac_address: The mac_address of this HostNetworkConfiguration. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z!HostNetworkConfiguration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zHostNetworkConfiguration.__eq__c C s | |k S r r r r r r �__ne__� s zHostNetworkConfiguration.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"