UniqueKey

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

Bases: object

The unqique key object.

Attributes:

MODEL_TYPE_PRIMARY_KEY

A constant which can be used with the model_type property of a UniqueKey.

MODEL_TYPE_UNIQUE_KEY

A constant which can be used with the model_type property of a UniqueKey.

attribute_refs

Gets the attribute_refs of this UniqueKey.

key

Gets the key of this UniqueKey.

model_type

[Required] Gets the model_type of this UniqueKey.

model_version

Gets the model_version of this UniqueKey.

name

Gets the name of this UniqueKey.

object_status

Gets the object_status of this UniqueKey.

parent_ref

Gets the parent_ref of this UniqueKey.

Methods:

__init__(**kwargs)

Initializes a new UniqueKey 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_PRIMARY_KEY = 'PRIMARY_KEY'

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

MODEL_TYPE_UNIQUE_KEY = 'UNIQUE_KEY'

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

__init__(**kwargs)

Initializes a new UniqueKey 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 UniqueKey. Allowed values for this property are: “PRIMARY_KEY”, “UNIQUE_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • key (str) – The value to assign to the key property of this UniqueKey.

  • model_version (str) – The value to assign to the model_version property of this UniqueKey.

  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this UniqueKey.

  • name (str) – The value to assign to the name property of this UniqueKey.

  • attribute_refs (list[oci.data_integration.models.KeyAttribute]) – The value to assign to the attribute_refs property of this UniqueKey.

  • object_status (int) – The value to assign to the object_status property of this UniqueKey.

property attribute_refs

Gets the attribute_refs of this UniqueKey. An array of attribute references.

Returns

The attribute_refs of this UniqueKey.

Return type

list[oci.data_integration.models.KeyAttribute]

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 key

Gets the key of this UniqueKey. The object key.

Returns

The key of this UniqueKey.

Return type

str

property model_type

[Required] Gets the model_type of this UniqueKey. The key type.

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

Returns

The model_type of this UniqueKey.

Return type

str

property model_version

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

Returns

The model_version of this UniqueKey.

Return type

str

property name

Gets the name of this UniqueKey. 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 UniqueKey.

Return type

str

property object_status

Gets the object_status of this UniqueKey. 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 UniqueKey.

Return type

int

property parent_ref

Gets the parent_ref of this UniqueKey.

Returns

The parent_ref of this UniqueKey.

Return type

oci.data_integration.models.ParentReference