Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.06 KB

File metadata and controls

31 lines (22 loc) · 1.06 KB

ComponentRolePermissions

A RBAC by component

Properties

Name Type Description Notes
component str
roles Dict[str, List[str]]

Example

from cosmotech_api.models.component_role_permissions import ComponentRolePermissions

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

# convert the object into a dict
component_role_permissions_dict = component_role_permissions_instance.to_dict()
# create an instance of ComponentRolePermissions from a dict
component_role_permissions_from_dict = ComponentRolePermissions.from_dict(component_role_permissions_dict)

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