DataObjectDataSizeColumnUnit¶
-
class
oci.opsi.models.DataObjectDataSizeColumnUnit(**kwargs)¶ Bases:
oci.opsi.models.data_object_column_unit.DataObjectColumnUnitUnit details of a data object column of DATA_SIZE unit category.
Attributes
UNIT_BITA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_BLOCKA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_CATEGORY_COREstr(object=’’) -> str UNIT_CATEGORY_CUSTOMstr(object=’’) -> str UNIT_CATEGORY_DATA_SIZEstr(object=’’) -> str UNIT_CATEGORY_FREQUENCYstr(object=’’) -> str UNIT_CATEGORY_OTHER_STANDARDstr(object=’’) -> str UNIT_CATEGORY_POWERstr(object=’’) -> str UNIT_CATEGORY_RATEstr(object=’’) -> str UNIT_CATEGORY_TEMPERATUREstr(object=’’) -> str UNIT_CATEGORY_TIMEstr(object=’’) -> str UNIT_CHARACTERA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_EXA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_GIGA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_KILO_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_MEGA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_PETA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_TERA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_YOTTA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. UNIT_ZETTA_BYTEA constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. display_nameGets the display_name of this DataObjectColumnUnit. unitGets the unit of this DataObjectDataSizeColumnUnit. unit_category[Required] Gets the unit_category of this DataObjectColumnUnit. Methods
__init__(**kwargs)Initializes a new DataObjectDataSizeColumnUnit 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_BIT= 'BIT'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “BIT”
-
UNIT_BLOCK= 'BLOCK'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “BLOCK”
-
UNIT_BYTE= 'BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “BYTE”
-
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_CHARACTER= 'CHARACTER'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “CHARACTER”
-
UNIT_EXA_BYTE= 'EXA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “EXA_BYTE”
-
UNIT_GIGA_BYTE= 'GIGA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “GIGA_BYTE”
-
UNIT_KILO_BYTE= 'KILO_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “KILO_BYTE”
-
UNIT_MEGA_BYTE= 'MEGA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “MEGA_BYTE”
-
UNIT_PETA_BYTE= 'PETA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “PETA_BYTE”
-
UNIT_TERA_BYTE= 'TERA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “TERA_BYTE”
-
UNIT_YOTTA_BYTE= 'YOTTA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “YOTTA_BYTE”
-
UNIT_ZETTA_BYTE= 'ZETTA_BYTE'¶ A constant which can be used with the unit property of a DataObjectDataSizeColumnUnit. This constant has a value of “ZETTA_BYTE”
-
__init__(**kwargs)¶ Initializes a new DataObjectDataSizeColumnUnit object with values from keyword arguments. The default value of the
unit_categoryattribute of this class isDATA_SIZEand 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 DataObjectDataSizeColumnUnit. 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 DataObjectDataSizeColumnUnit.
- unit (str) – The value to assign to the unit property of this DataObjectDataSizeColumnUnit. Allowed values for this property are: “CHARACTER”, “BLOCK”, “BIT”, “BYTE”, “KILO_BYTE”, “MEGA_BYTE”, “GIGA_BYTE”, “TERA_BYTE”, “PETA_BYTE”, “EXA_BYTE”, “ZETTA_BYTE”, “YOTTA_BYTE”, ‘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 DataObjectDataSizeColumnUnit. Data size unit.
Allowed values for this property are: “CHARACTER”, “BLOCK”, “BIT”, “BYTE”, “KILO_BYTE”, “MEGA_BYTE”, “GIGA_BYTE”, “TERA_BYTE”, “PETA_BYTE”, “EXA_BYTE”, “ZETTA_BYTE”, “YOTTA_BYTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The unit of this DataObjectDataSizeColumnUnit. 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
-