MapType¶
- class oci.data_integration.models.MapType(**kwargs)¶
Bases:
BaseTypeMap type object.
Attributes:
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
A constant which can be used with the model_type property of a BaseType.
Gets the contains_null of this MapType.
Gets the description of this BaseType.
Gets the key of this BaseType.
Gets the key_element_type of this MapType.
[Required] Gets the model_type of this BaseType.
Gets the model_version of this BaseType.
Gets the name of this BaseType.
Gets the object_status of this BaseType.
Gets the parent_ref of this BaseType.
Gets the value_element_type of this MapType.
Methods:
__init__(**kwargs)Initializes a new MapType 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.
- MODEL_TYPE_ARRAY_TYPE = 'ARRAY_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “ARRAY_TYPE”
- MODEL_TYPE_COMPOSITE_TYPE = 'COMPOSITE_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “COMPOSITE_TYPE”
- MODEL_TYPE_CONFIGURED_TYPE = 'CONFIGURED_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “CONFIGURED_TYPE”
- MODEL_TYPE_DATA_TYPE = 'DATA_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “DATA_TYPE”
- MODEL_TYPE_DERIVED_TYPE = 'DERIVED_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “DERIVED_TYPE”
- MODEL_TYPE_DYNAMIC_TYPE = 'DYNAMIC_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “DYNAMIC_TYPE”
- MODEL_TYPE_JAVA_TYPE = 'JAVA_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “JAVA_TYPE”
- MODEL_TYPE_MAP_TYPE = 'MAP_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “MAP_TYPE”
- MODEL_TYPE_MATERIALIZED_COMPOSITE_TYPE = 'MATERIALIZED_COMPOSITE_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “MATERIALIZED_COMPOSITE_TYPE”
- MODEL_TYPE_STRUCTURED_TYPE = 'STRUCTURED_TYPE'¶
A constant which can be used with the model_type property of a BaseType. This constant has a value of “STRUCTURED_TYPE”
- __init__(**kwargs)¶
Initializes a new MapType object with values from keyword arguments. The default value of the
model_typeattribute of this class isMAP_TYPEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
model_type (str) – The value to assign to the model_type property of this MapType. Allowed values for this property are: “DYNAMIC_TYPE”, “STRUCTURED_TYPE”, “DATA_TYPE”, “JAVA_TYPE”, “CONFIGURED_TYPE”, “COMPOSITE_TYPE”, “DERIVED_TYPE”, “ARRAY_TYPE”, “MAP_TYPE”, “MATERIALIZED_COMPOSITE_TYPE”
key (str) – The value to assign to the key property of this MapType.
model_version (str) – The value to assign to the model_version property of this MapType.
parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this MapType.
name (str) – The value to assign to the name property of this MapType.
object_status (int) – The value to assign to the object_status property of this MapType.
description (str) – The value to assign to the description property of this MapType.
key_element_type (str) – The value to assign to the key_element_type property of this MapType.
value_element_type (str) – The value to assign to the value_element_type property of this MapType.
contains_null (bool) – The value to assign to the contains_null property of this MapType.
- property contains_null¶
Gets the contains_null of this MapType. Defines whether null values are allowed.
- Returns
The contains_null of this MapType.
- Return type
bool
- property description¶
Gets the description of this BaseType. A user defined description for the object.
- Returns
The description of this BaseType.
- 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 key¶
Gets the key of this BaseType. The key of the object.
- Returns
The key of this BaseType.
- Return type
str
- property key_element_type¶
Gets the key_element_type of this MapType. Seeded type
- Returns
The key_element_type of this MapType.
- Return type
str
- property model_type¶
[Required] Gets the model_type of this BaseType. The property which disciminates the subtypes.
Allowed values for this property are: “DYNAMIC_TYPE”, “STRUCTURED_TYPE”, “DATA_TYPE”, “JAVA_TYPE”, “CONFIGURED_TYPE”, “COMPOSITE_TYPE”, “DERIVED_TYPE”, “ARRAY_TYPE”, “MAP_TYPE”, “MATERIALIZED_COMPOSITE_TYPE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The model_type of this BaseType.
- Return type
str
- property model_version¶
Gets the model_version of this BaseType. The model version of an object.
- Returns
The model_version of this BaseType.
- Return type
str
- property name¶
Gets the name of this BaseType. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Returns
The name of this BaseType.
- Return type
str
- property object_status¶
Gets the object_status of this BaseType. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
- Returns
The object_status of this BaseType.
- Return type
int
- property parent_ref¶
Gets the parent_ref of this BaseType.
- Returns
The parent_ref of this BaseType.
- Return type
- property value_element_type¶
Gets the value_element_type of this MapType. Seeded type
- Returns
The value_element_type of this MapType.
- Return type
str