SubsetRuleEntry¶
-
class
oci.data_safe.models.SubsetRuleEntry(**kwargs)¶ Bases:
objectThe details of the subset rule
Attributes
RULE_TYPE_CONDITIONA constant which can be used with the rule_type property of a SubsetRuleEntry. RULE_TYPE_PARTITIONA constant which can be used with the rule_type property of a SubsetRuleEntry. RULE_TYPE_PERCENTA constant which can be used with the rule_type property of a SubsetRuleEntry. rule_type[Required] Gets the rule_type of this SubsetRuleEntry. Methods
__init__(**kwargs)Initializes a new SubsetRuleEntry 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. -
RULE_TYPE_CONDITION= 'CONDITION'¶ A constant which can be used with the rule_type property of a SubsetRuleEntry. This constant has a value of “CONDITION”
-
RULE_TYPE_PARTITION= 'PARTITION'¶ A constant which can be used with the rule_type property of a SubsetRuleEntry. This constant has a value of “PARTITION”
-
RULE_TYPE_PERCENT= 'PERCENT'¶ A constant which can be used with the rule_type property of a SubsetRuleEntry. This constant has a value of “PERCENT”
-
__init__(**kwargs)¶ Initializes a new SubsetRuleEntry 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: rule_type (str) – The value to assign to the rule_type property of this SubsetRuleEntry. Allowed values for this property are: “PERCENT”, “CONDITION”, “PARTITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
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.
-
rule_type¶ [Required] Gets the rule_type of this SubsetRuleEntry. type of subset rule
Allowed values for this property are: “PERCENT”, “CONDITION”, “PARTITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The rule_type of this SubsetRuleEntry. Return type: str
-