ruạṛ
a O��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DataObjectColumnUnit� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s^ e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Zdd � Z dd� Zdd� ZdS )�DataObjectPowerColumnUnitzF Unit details of a data object column of POWER unit category. �AMP�WATT� KILO_WATT� MEGA_WATT� GIGA_WATTc K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS )a2 Initializes a new DataObjectPowerColumnUnit object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.DataObjectPowerColumnUnit.unit_category` attribute of this class is ``POWER`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param unit_category: The value to assign to the unit_category property of this DataObjectPowerColumnUnit. Allowed values for this property are: "DATA_SIZE", "TIME", "POWER", "TEMPERATURE", "CORE", "RATE", "FREQUENCY", "OTHER_STANDARD", "CUSTOM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type unit_category: str :param display_name: The value to assign to the display_name property of this DataObjectPowerColumnUnit. :type display_name: str :param unit: The value to assign to the unit property of this DataObjectPowerColumnUnit. Allowed values for this property are: "AMP", "WATT", "KILO_WATT", "MEGA_WATT", "GIGA_WATT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type unit: str �str)� unit_category�display_name�unit�unitCategory�displayNamer N�POWER)� swagger_types� attribute_map�_unit_category� _display_name�_unit)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/data_object_power_column_unit.py�__init__$ s ��z"DataObjectPowerColumnUnit.__init__c C s | j S )a� Gets the unit of this DataObjectPowerColumnUnit. Power unit. Allowed values for this property are: "AMP", "WATT", "KILO_WATT", "MEGA_WATT", "GIGA_WATT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The unit of this DataObjectPowerColumnUnit. :rtype: str )r �r r r r r L s zDataObjectPowerColumnUnit.unitc C s g d�}t ||�sd}|| _dS )z� Sets the unit of this DataObjectPowerColumnUnit. Power unit. :param unit: The unit of this DataObjectPowerColumnUnit. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r [ s c C s t | �S �N)r r r r r �__repr__j s z"DataObjectPowerColumnUnit.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__m s z DataObjectPowerColumnUnit.__eq__c C s | |k S r"