DataObjectTimeColumnUnit¶
- class oci.opsi.models.DataObjectTimeColumnUnit(**kwargs)¶
Bases:
DataObjectColumnUnitUnit details of a data object column of TIME unit category.
Attributes:
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit_category property of a DataObjectColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
A constant which can be used with the unit property of a DataObjectTimeColumnUnit.
Gets the display_name of this DataObjectColumnUnit.
Gets the unit of this DataObjectTimeColumnUnit.
[Required] Gets the unit_category of this DataObjectColumnUnit.
Methods:
__init__(**kwargs)Initializes a new DataObjectTimeColumnUnit 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_CATEGORY_CORE = 'CORE'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “CORE”
- UNIT_CATEGORY_CUSTOM = 'CUSTOM'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “CUSTOM”
- UNIT_CATEGORY_DATA_SIZE = 'DATA_SIZE'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “DATA_SIZE”
- UNIT_CATEGORY_FREQUENCY = 'FREQUENCY'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “FREQUENCY”
- UNIT_CATEGORY_OTHER_STANDARD = 'OTHER_STANDARD'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “OTHER_STANDARD”
- UNIT_CATEGORY_POWER = 'POWER'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “POWER”
- UNIT_CATEGORY_RATE = 'RATE'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “RATE”
- UNIT_CATEGORY_TEMPERATURE = 'TEMPERATURE'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “TEMPERATURE”
- UNIT_CATEGORY_TIME = 'TIME'¶
A constant which can be used with the unit_category property of a DataObjectColumnUnit. This constant has a value of “TIME”
- UNIT_CENTI_SECOND = 'CENTI_SECOND'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “CENTI_SECOND”
- UNIT_DAY = 'DAY'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “DAY”
- UNIT_HOUR = 'HOUR'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “HOUR”
- UNIT_MICRO_SECOND = 'MICRO_SECOND'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “MICRO_SECOND”
- UNIT_MILLI_SECOND = 'MILLI_SECOND'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “MILLI_SECOND”
- UNIT_MINUTE = 'MINUTE'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “MINUTE”
- UNIT_MONTH = 'MONTH'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “MONTH”
- UNIT_NANO_SECOND = 'NANO_SECOND'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “NANO_SECOND”
- UNIT_SECOND = 'SECOND'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “SECOND”
- UNIT_WEEK = 'WEEK'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “WEEK”
- UNIT_YEAR = 'YEAR'¶
A constant which can be used with the unit property of a DataObjectTimeColumnUnit. This constant has a value of “YEAR”
- __init__(**kwargs)¶
Initializes a new DataObjectTimeColumnUnit object with values from keyword arguments. The default value of the
unit_categoryattribute of this class isTIMEand 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 DataObjectTimeColumnUnit. 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 DataObjectTimeColumnUnit.
unit (str) – The value to assign to the unit property of this DataObjectTimeColumnUnit. Allowed values for this property are: “NANO_SECOND”, “MICRO_SECOND”, “MILLI_SECOND”, “CENTI_SECOND”, “SECOND”, “HOUR”, “DAY”, “WEEK”, “MONTH”, “YEAR”, “MINUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property 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.
- property unit¶
Gets the unit of this DataObjectTimeColumnUnit. Time unit.
Allowed values for this property are: “NANO_SECOND”, “MICRO_SECOND”, “MILLI_SECOND”, “CENTI_SECOND”, “SECOND”, “HOUR”, “DAY”, “WEEK”, “MONTH”, “YEAR”, “MINUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The unit of this DataObjectTimeColumnUnit.
- Return type
str
- property 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