You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
fromopal_security.models.access_ruleimportAccessRule# TODO update the JSON string belowjson="{}"# create an instance of AccessRule from a JSON stringaccess_rule_instance=AccessRule.from_json(json)
# print the JSON string representation of the objectprint(AccessRule.to_json())
# convert the object into a dictaccess_rule_dict=access_rule_instance.to_dict()
# create an instance of AccessRule from a dictaccess_rule_from_dict=AccessRule.from_dict(access_rule_dict)