DataEntity

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

Bases: object

The data entity object.

Attributes

MODEL_TYPE_DATA_STORE_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_DERIVED_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_FILE_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_OBJECT_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_SQL_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_TABLE_ENTITY A constant which can be used with the model_type property of a DataEntity.
MODEL_TYPE_VIEW_ENTITY A constant which can be used with the model_type property of a DataEntity.
metadata Gets the metadata of this DataEntity.
model_type [Required] Gets the model_type of this DataEntity.

Methods

__init__(**kwargs) Initializes a new DataEntity 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_DATA_STORE_ENTITY = 'DATA_STORE_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “DATA_STORE_ENTITY”

MODEL_TYPE_DERIVED_ENTITY = 'DERIVED_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “DERIVED_ENTITY”

MODEL_TYPE_FILE_ENTITY = 'FILE_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “FILE_ENTITY”

MODEL_TYPE_OBJECT_ENTITY = 'OBJECT_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “OBJECT_ENTITY”

MODEL_TYPE_SQL_ENTITY = 'SQL_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “SQL_ENTITY”

MODEL_TYPE_TABLE_ENTITY = 'TABLE_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “TABLE_ENTITY”

MODEL_TYPE_VIEW_ENTITY = 'VIEW_ENTITY'

A constant which can be used with the model_type property of a DataEntity. This constant has a value of “VIEW_ENTITY”

__init__(**kwargs)

Initializes a new DataEntity object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 DataEntity. Allowed values for this property are: “VIEW_ENTITY”, “TABLE_ENTITY”, “FILE_ENTITY”, “SQL_ENTITY”, “OBJECT_ENTITY”, “DATA_STORE_ENTITY”, “DERIVED_ENTITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this DataEntity.
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.

metadata

Gets the metadata of this DataEntity.

Returns:The metadata of this DataEntity.
Return type:oci.data_integration.models.ObjectMetadata
model_type

[Required] Gets the model_type of this DataEntity. The data entity type.

Allowed values for this property are: “VIEW_ENTITY”, “TABLE_ENTITY”, “FILE_ENTITY”, “SQL_ENTITY”, “OBJECT_ENTITY”, “DATA_STORE_ENTITY”, “DERIVED_ENTITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this DataEntity.
Return type:str