DataObjectPowerColumnUnit¶
-
class
oci.opsi.models.
DataObjectPowerColumnUnit
(**kwargs)¶ Bases:
oci.opsi.models.data_object_column_unit.DataObjectColumnUnit
Unit details of a data object column of POWER unit category.
Attributes
UNIT_AMP
A constant which can be used with the unit property of a DataObjectPowerColumnUnit. UNIT_CATEGORY_CORE
str(object=’’) -> str UNIT_CATEGORY_CUSTOM
str(object=’’) -> str UNIT_CATEGORY_DATA_SIZE
str(object=’’) -> str UNIT_CATEGORY_FREQUENCY
str(object=’’) -> str UNIT_CATEGORY_OTHER_STANDARD
str(object=’’) -> str UNIT_CATEGORY_POWER
str(object=’’) -> str UNIT_CATEGORY_RATE
str(object=’’) -> str UNIT_CATEGORY_TEMPERATURE
str(object=’’) -> str UNIT_CATEGORY_TIME
str(object=’’) -> str UNIT_GIGA_WATT
A constant which can be used with the unit property of a DataObjectPowerColumnUnit. UNIT_KILO_WATT
A constant which can be used with the unit property of a DataObjectPowerColumnUnit. UNIT_MEGA_WATT
A constant which can be used with the unit property of a DataObjectPowerColumnUnit. UNIT_WATT
A constant which can be used with the unit property of a DataObjectPowerColumnUnit. display_name
Gets the display_name of this DataObjectColumnUnit. unit
Gets the unit of this DataObjectPowerColumnUnit. unit_category
[Required] Gets the unit_category of this DataObjectColumnUnit. Methods
__init__
(**kwargs)Initializes a new DataObjectPowerColumnUnit object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
UNIT_AMP
= 'AMP'¶ A constant which can be used with the unit property of a DataObjectPowerColumnUnit. This constant has a value of “AMP”
-
UNIT_CATEGORY_CORE
= 'CORE'¶
-
UNIT_CATEGORY_CUSTOM
= 'CUSTOM'¶
-
UNIT_CATEGORY_DATA_SIZE
= 'DATA_SIZE'¶
-
UNIT_CATEGORY_FREQUENCY
= 'FREQUENCY'¶
-
UNIT_CATEGORY_OTHER_STANDARD
= 'OTHER_STANDARD'¶
-
UNIT_CATEGORY_POWER
= 'POWER'¶
-
UNIT_CATEGORY_RATE
= 'RATE'¶
-
UNIT_CATEGORY_TEMPERATURE
= 'TEMPERATURE'¶
-
UNIT_CATEGORY_TIME
= 'TIME'¶
-
UNIT_GIGA_WATT
= 'GIGA_WATT'¶ A constant which can be used with the unit property of a DataObjectPowerColumnUnit. This constant has a value of “GIGA_WATT”
-
UNIT_KILO_WATT
= 'KILO_WATT'¶ A constant which can be used with the unit property of a DataObjectPowerColumnUnit. This constant has a value of “KILO_WATT”
-
UNIT_MEGA_WATT
= 'MEGA_WATT'¶ A constant which can be used with the unit property of a DataObjectPowerColumnUnit. This constant has a value of “MEGA_WATT”
-
UNIT_WATT
= 'WATT'¶ A constant which can be used with the unit property of a DataObjectPowerColumnUnit. This constant has a value of “WATT”
-
__init__
(**kwargs)¶ Initializes a new DataObjectPowerColumnUnit object with values from keyword arguments. The default value of the
unit_category
attribute of this class isPOWER
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - unit_category (str) – 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’.
- display_name (str) – The value to assign to the display_name property of this DataObjectPowerColumnUnit.
- unit (str) – 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’.
-
display_name
¶ Gets the display_name of this DataObjectColumnUnit. Display name of the column’s unit.
Returns: The display_name of this DataObjectColumnUnit. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
unit
¶ 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’.
Returns: The unit of this DataObjectPowerColumnUnit. Return type: str
-
unit_category
¶ [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’.
Returns: The unit_category of this DataObjectColumnUnit. Return type: str
-