Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.34 KB

File metadata and controls

35 lines (26 loc) · 1.34 KB

AccessRule

Access Rule Object ### Description The AccessRule object is used to represent an access rule configuration. ### Usage Example Get access rule configurations from the GET Access Rule Configs endpoint.

Properties

Name Type Description Notes
access_rule_id UUID The ID (group ID) of the access rule.
name str The name of the access rule.
description str A description of the group.
admin_owner_id UUID The ID of the owner of the group.
status str The status of the access rule.
rule_clauses RuleClauses

Example

from opal_security.models.access_rule import AccessRule

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

# convert the object into a dict
access_rule_dict = access_rule_instance.to_dict()
# create an instance of AccessRule from a dict
access_rule_from_dict = AccessRule.from_dict(access_rule_dict)

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