EntityShape¶
- class oci.data_integration.models.EntityShape(**kwargs)¶
Bases:
objectThe data entity shape object.
Attributes:
A constant which can be used with the model_type property of a EntityShape.
A constant which can be used with the model_type property of a EntityShape.
A constant which can be used with the model_type property of a EntityShape.
Gets the metadata of this EntityShape.
[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.
- property metadata¶
Gets the metadata of this EntityShape.
- Returns
The metadata of this EntityShape.
- Return type
- property 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