RuleAttribute¶
-
class
oci.data_catalog.models.RuleAttribute(**kwargs)¶ Bases:
objectObject 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_nameGets the display_name of this RuleAttribute. key[Required] Gets the key of this RuleAttribute. positionGets 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.
-
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
-
key¶ [Required] Gets the key of this RuleAttribute. Immutable unique key of the attribute.
Returns: The key of this RuleAttribute. Return type: str
-
position¶ Gets the position of this RuleAttribute. Position of the attribute in the record definition.
Returns: The position of this RuleAttribute. Return type: int
-