CompositeType

class oci.data_integration.models.CompositeType(**kwargs)

Bases: oci.data_integration.models.base_type.BaseType

A CompositeType represents a type that is composed of a list of sub-types, for example an Address type. The sub-types can be simple DataType or other CompositeType objects. Typically, a CompositeType may represent an arbitrarily deep hierarchy of types.

Attributes

MODEL_TYPE_COMPOSITE_TYPE str(object=’’) -> str
MODEL_TYPE_CONFIGURED_TYPE str(object=’’) -> str
MODEL_TYPE_DATA_TYPE str(object=’’) -> str
MODEL_TYPE_DERIVED_TYPE str(object=’’) -> str
MODEL_TYPE_DYNAMIC_TYPE str(object=’’) -> str
MODEL_TYPE_JAVA_TYPE str(object=’’) -> str
MODEL_TYPE_STRUCTURED_TYPE str(object=’’) -> str
config_definition Gets the config_definition of this CompositeType.
description Gets the description of this BaseType.
elements Gets the elements of this CompositeType.
key Gets the key of this BaseType.
model_type [Required] Gets the model_type of this BaseType.
model_version Gets the model_version of this BaseType.
name Gets the name of this BaseType.
object_status Gets the object_status of this BaseType.
parent_ref Gets the parent_ref of this BaseType.
parent_type Gets the parent_type of this CompositeType.

Methods

__init__(**kwargs) Initializes a new CompositeType 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_COMPOSITE_TYPE = 'COMPOSITE_TYPE'
MODEL_TYPE_CONFIGURED_TYPE = 'CONFIGURED_TYPE'
MODEL_TYPE_DATA_TYPE = 'DATA_TYPE'
MODEL_TYPE_DERIVED_TYPE = 'DERIVED_TYPE'
MODEL_TYPE_DYNAMIC_TYPE = 'DYNAMIC_TYPE'
MODEL_TYPE_JAVA_TYPE = 'JAVA_TYPE'
MODEL_TYPE_STRUCTURED_TYPE = 'STRUCTURED_TYPE'
__init__(**kwargs)

Initializes a new CompositeType object with values from keyword arguments. The default value of the model_type attribute of this class is COMPOSITE_TYPE and 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 CompositeType. Allowed values for this property are: “DYNAMIC_TYPE”, “STRUCTURED_TYPE”, “DATA_TYPE”, “JAVA_TYPE”, “CONFIGURED_TYPE”, “COMPOSITE_TYPE”, “DERIVED_TYPE”
  • key (str) – The value to assign to the key property of this CompositeType.
  • model_version (str) – The value to assign to the model_version property of this CompositeType.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this CompositeType.
  • name (str) – The value to assign to the name property of this CompositeType.
  • object_status (int) – The value to assign to the object_status property of this CompositeType.
  • description (str) – The value to assign to the description property of this CompositeType.
  • parent_type (oci.data_integration.models.CompositeType) – The value to assign to the parent_type property of this CompositeType.
  • elements (list[oci.data_integration.models.TypedObject]) – The value to assign to the elements property of this CompositeType.
  • config_definition (oci.data_integration.models.ConfigDefinition) – The value to assign to the config_definition property of this CompositeType.
config_definition

Gets the config_definition of this CompositeType.

Returns:The config_definition of this CompositeType.
Return type:oci.data_integration.models.ConfigDefinition
description

Gets the description of this BaseType. A user defined description for the object.

Returns:The description of this BaseType.
Return type:str
elements

Gets the elements of this CompositeType. An array of elements.

Returns:The elements of this CompositeType.
Return type:list[oci.data_integration.models.TypedObject]
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.

key

Gets the key of this BaseType. The key of the object.

Returns:The key of this BaseType.
Return type:str
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”, ‘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
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
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
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
parent_ref

Gets the parent_ref of this BaseType.

Returns:The parent_ref of this BaseType.
Return type:oci.data_integration.models.ParentReference
parent_type

Gets the parent_type of this CompositeType.

Returns:The parent_type of this CompositeType.
Return type:oci.data_integration.models.CompositeType