SchemaObjectTypeDetails

class oci.opsi.models.SchemaObjectTypeDetails(**kwargs)

Bases: oci.opsi.models.related_object_type_details.RelatedObjectTypeDetails

Schema object details

Attributes

TYPE_DATABASE_PARAMETER str(object=’’) -> str
TYPE_SCHEMA_OBJECT str(object=’’) -> str
TYPE_SQL str(object=’’) -> str
object_id [Required] Gets the object_id of this SchemaObjectTypeDetails.
object_name [Required] Gets the object_name of this SchemaObjectTypeDetails.
object_type [Required] Gets the object_type of this SchemaObjectTypeDetails.
owner [Required] Gets the owner of this SchemaObjectTypeDetails.
sub_object_name Gets the sub_object_name of this SchemaObjectTypeDetails.
type [Required] Gets the type of this RelatedObjectTypeDetails.

Methods

__init__(**kwargs) Initializes a new SchemaObjectTypeDetails 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.
TYPE_DATABASE_PARAMETER = 'DATABASE_PARAMETER'
TYPE_SCHEMA_OBJECT = 'SCHEMA_OBJECT'
TYPE_SQL = 'SQL'
__init__(**kwargs)

Initializes a new SchemaObjectTypeDetails object with values from keyword arguments. The default value of the type attribute of this class is SCHEMA_OBJECT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this SchemaObjectTypeDetails. Allowed values for this property are: “SCHEMA_OBJECT”, “SQL”, “DATABASE_PARAMETER”
  • object_id (int) – The value to assign to the object_id property of this SchemaObjectTypeDetails.
  • owner (str) – The value to assign to the owner property of this SchemaObjectTypeDetails.
  • object_name (str) – The value to assign to the object_name property of this SchemaObjectTypeDetails.
  • sub_object_name (str) – The value to assign to the sub_object_name property of this SchemaObjectTypeDetails.
  • object_type (str) – The value to assign to the object_type property of this SchemaObjectTypeDetails.
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.

object_id

[Required] Gets the object_id of this SchemaObjectTypeDetails. Object id (from RDBMS)

Returns:The object_id of this SchemaObjectTypeDetails.
Return type:int
object_name

[Required] Gets the object_name of this SchemaObjectTypeDetails. Name of object

Returns:The object_name of this SchemaObjectTypeDetails.
Return type:str
object_type

[Required] Gets the object_type of this SchemaObjectTypeDetails. Type of the object (such as TABLE, INDEX)

Returns:The object_type of this SchemaObjectTypeDetails.
Return type:str
owner

[Required] Gets the owner of this SchemaObjectTypeDetails. Owner of object

Returns:The owner of this SchemaObjectTypeDetails.
Return type:str
sub_object_name

Gets the sub_object_name of this SchemaObjectTypeDetails. Subobject name; for example, partition name

Returns:The sub_object_name of this SchemaObjectTypeDetails.
Return type:str
type

[Required] Gets the type of this RelatedObjectTypeDetails. Type of related object

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

Returns:The type of this RelatedObjectTypeDetails.
Return type:str