Schema

class oci.data_connectivity.models.Schema(**kwargs)

Bases: object

The schema object.

Methods

__init__(**kwargs) Initializes a new Schema object with values from keyword arguments.

Attributes

default_connection Gets the default_connection of this Schema.
description Gets the description of this Schema.
external_key Gets the external_key of this Schema.
identifier [Required] Gets the identifier of this Schema.
is_has_containers Gets the is_has_containers of this Schema.
key [Required] Gets the key of this Schema.
metadata Gets the metadata of this Schema.
model_type [Required] Gets the model_type of this Schema.
model_version Gets the model_version of this Schema.
name [Required] Gets the name of this Schema.
object_status Gets the object_status of this Schema.
object_version Gets the object_version of this Schema.
parent_ref Gets the parent_ref of this Schema.
resource_name Gets the resource_name of this Schema.
__init__(**kwargs)

Initializes a new Schema object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this Schema.
  • model_type (str) – The value to assign to the model_type property of this Schema.
  • model_version (str) – The value to assign to the model_version property of this Schema.
  • parent_ref (oci.data_connectivity.models.ParentReference) – The value to assign to the parent_ref property of this Schema.
  • name (str) – The value to assign to the name property of this Schema.
  • resource_name (str) – The value to assign to the resource_name property of this Schema.
  • description (str) – The value to assign to the description property of this Schema.
  • object_version (int) – The value to assign to the object_version property of this Schema.
  • external_key (str) – The value to assign to the external_key property of this Schema.
  • is_has_containers (bool) – The value to assign to the is_has_containers property of this Schema.
  • default_connection (str) – The value to assign to the default_connection property of this Schema.
  • object_status (int) – The value to assign to the object_status property of this Schema.
  • identifier (str) – The value to assign to the identifier property of this Schema.
  • metadata (oci.data_connectivity.models.ObjectMetadata) – The value to assign to the metadata property of this Schema.
default_connection

Gets the default_connection of this Schema. The default connection key.

Returns:The default_connection of this Schema.
Return type:str
description

Gets the description of this Schema. User-defined description for the schema.

Returns:The description of this Schema.
Return type:str
external_key

Gets the external_key of this Schema. The external key for the object.

Returns:The external_key of this Schema.
Return type:str
identifier

[Required] Gets the identifier of this Schema. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.

Returns:The identifier of this Schema.
Return type:str
is_has_containers

Gets the is_has_containers of this Schema. Specifies whether the schema has containers.

Returns:The is_has_containers of this Schema.
Return type:bool
key

[Required] Gets the key of this Schema. The object key.

Returns:The key of this Schema.
Return type:str
metadata

Gets the metadata of this Schema.

Returns:The metadata of this Schema.
Return type:oci.data_connectivity.models.ObjectMetadata
model_type

[Required] Gets the model_type of this Schema. The object’s type.

Returns:The model_type of this Schema.
Return type:str
model_version

Gets the model_version of this Schema. The object’s model version.

Returns:The model_version of this Schema.
Return type:str
name

[Required] Gets the name of this Schema. 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 Schema.
Return type:str
object_status

Gets the object_status of this Schema. 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 Schema.
Return type:int
object_version

Gets the object_version of this Schema. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this Schema.
Return type:int
parent_ref

Gets the parent_ref of this Schema.

Returns:The parent_ref of this Schema.
Return type:oci.data_connectivity.models.ParentReference
resource_name

Gets the resource_name of this Schema. A resource name can have letters, numbers, and special characters. The value is editable and is restricted to 4000 characters.

Returns:The resource_name of this Schema.
Return type:str