Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 876 Bytes

File metadata and controls

32 lines (23 loc) · 876 Bytes

Role

Properties

Name Type Description Notes
api_version str
kind str
metadata Metadata
rules List[PolicyRule]

Example

from halo_client.models.role import Role

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

# convert the object into a dict
role_dict = role_instance.to_dict()
# create an instance of Role from a dict
role_from_dict = Role.from_dict(role_dict)

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