Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.19 KB

OpaPolicyItem.md

File metadata and controls

33 lines (24 loc) · 1.19 KB

OpaPolicyItem

Properties

Name Type Description Notes
type OpaPolicyItemType [optional]
policy str OPA Policy in REGO format [optional]
all_roles List[str] User must match all roles [optional]
any_roles List[str] User must match any role [optional]
attributes List[OpaPolicyAttribute] [optional]

Example

from formkiq_client.models.opa_policy_item import OpaPolicyItem

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

# convert the object into a dict
opa_policy_item_dict = opa_policy_item_instance.to_dict()
# create an instance of OpaPolicyItem from a dict
opa_policy_item_from_dict = OpaPolicyItem.from_dict(opa_policy_item_dict)

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