Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 949 Bytes

File metadata and controls

35 lines (26 loc) · 949 Bytes

Role

Properties

Name Type Description Notes
id UUID
name str
description str [optional]
scopes List[str]
tenant_id UUID [optional]
created_at datetime
updated_at datetime

Example

from stratum.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]