RuleAttribute

class oci.data_catalog.models.RuleAttribute(**kwargs)

Bases: object

Object that defines a usage of an attribute in the context of a rule. Example: For a UNIQUEKEY rule, declares the attribute in a table whose value must be unique.

Methods:

__init__(**kwargs)

Initializes a new RuleAttribute object with values from keyword arguments.

Attributes:

display_name

Gets the display_name of this RuleAttribute.

key

[Required] Gets the key of this RuleAttribute.

position

Gets the position of this RuleAttribute.

__init__(**kwargs)

Initializes a new RuleAttribute 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 RuleAttribute.

  • display_name (str) – The value to assign to the display_name property of this RuleAttribute.

  • position (int) – The value to assign to the position property of this RuleAttribute.

property display_name

Gets the display_name of this RuleAttribute. A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The display_name of this RuleAttribute.

Return type

str

property key

[Required] Gets the key of this RuleAttribute. Immutable unique key of the attribute.

Returns

The key of this RuleAttribute.

Return type

str

property position

Gets the position of this RuleAttribute. Position of the attribute in the record definition.

Returns

The position of this RuleAttribute.

Return type

int