EntityShape

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

Bases: object

The data entity shape object.

Attributes

MODEL_TYPE_FILE_ENTITY A constant which can be used with the model_type property of a EntityShape.
MODEL_TYPE_OBJECT_ENTITY A constant which can be used with the model_type property of a EntityShape.
MODEL_TYPE_SQL_ENTITY A constant which can be used with the model_type property of a EntityShape.
metadata Gets the metadata of this EntityShape.
model_type [Required] Gets the model_type of this EntityShape.

Methods

__init__(**kwargs) Initializes a new EntityShape 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_FILE_ENTITY = 'FILE_ENTITY'

A constant which can be used with the model_type property of a EntityShape. 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 EntityShape. 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 EntityShape. This constant has a value of “SQL_ENTITY”

__init__(**kwargs)

Initializes a new EntityShape 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 EntityShape. Allowed values for this property are: “FILE_ENTITY”, “SQL_ENTITY”, “OBJECT_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 EntityShape.
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 EntityShape.

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

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

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

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