Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.27 KB

RuleDefinition.md

File metadata and controls

32 lines (23 loc) · 1.27 KB

RuleDefinition

The RuleDefinition message provides detailed information about a specific rule.

Properties

Name Type Description Notes
name str The name of the rule, which follows a specific string pattern and has a maximum byte size. [optional]
arguments Dict[str, AttributeType] Map of arguments for this rule. The key is the attribute name, and the value is the AttributeType. [optional]
expression CheckedExpr [optional]

Example

from permify.models.rule_definition import RuleDefinition

# TODO update the JSON string below
json = "{}"
# create an instance of RuleDefinition from a JSON string
rule_definition_instance = RuleDefinition.from_json(json)
# print the JSON string representation of the object
print(RuleDefinition.to_json())

# convert the object into a dict
rule_definition_dict = rule_definition_instance.to_dict()
# create an instance of RuleDefinition from a dict
rule_definition_from_dict = RuleDefinition.from_dict(rule_definition_dict)

[Back to Model list] [Back to API list] [Back to README]