Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.19 KB

File metadata and controls

31 lines (22 loc) · 1.19 KB

AuthStaticRoleAssignment

AuthStaticRoleAssignment assigns a static set of roles to all users from this auth provider.

Properties

Name Type Description Notes
type str The type of role assignment.
roles List[str] The list of role names to assign to all users.

Example

from flightctl.models.auth_static_role_assignment import AuthStaticRoleAssignment

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

# convert the object into a dict
auth_static_role_assignment_dict = auth_static_role_assignment_instance.to_dict()
# create an instance of AuthStaticRoleAssignment from a dict
auth_static_role_assignment_from_dict = AuthStaticRoleAssignment.from_dict(auth_static_role_assignment_dict)

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