UniqueDataKey

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

Bases: oci.data_integration.models.unique_key.UniqueKey

The unique key object.

Attributes

MODEL_TYPE_PRIMARY_KEY str(object=’’) -> str
MODEL_TYPE_UNIQUE_KEY str(object=’’) -> str
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 UniqueDataKey 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'
MODEL_TYPE_UNIQUE_KEY = 'UNIQUE_KEY'
__init__(**kwargs)

Initializes a new UniqueDataKey object with values from keyword arguments. The default value of the model_type attribute of this class is UNIQUE_KEY and it should not be changed. 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 UniqueDataKey. Allowed values for this property are: “PRIMARY_KEY”, “UNIQUE_KEY”
  • key (str) – The value to assign to the key property of this UniqueDataKey.
  • model_version (str) – The value to assign to the model_version property of this UniqueDataKey.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this UniqueDataKey.
  • name (str) – The value to assign to the name property of this UniqueDataKey.
  • attribute_refs (list[oci.data_integration.models.KeyAttribute]) – The value to assign to the attribute_refs property of this UniqueDataKey.
  • object_status (int) – The value to assign to the object_status property of this UniqueDataKey.
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.

key

Gets the key of this UniqueKey. The object key.

Returns:The key of this UniqueKey.
Return type:str
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
model_version

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

Returns:The model_version of this UniqueKey.
Return type:str
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
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
parent_ref

Gets the parent_ref of this UniqueKey.

Returns:The parent_ref of this UniqueKey.
Return type:oci.data_integration.models.ParentReference