Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.21 KB

File metadata and controls

34 lines (25 loc) · 1.21 KB

RoleBinding

RoleBinding references a role, but does not contain it. It can reference a Role in the global. It adds who information via Subjects.

Properties

Name Type Description Notes
api_version str
kind str
metadata Metadata
role_ref RoleRef [optional]
subjects List[Subject] Subjects holds references to the objects the role applies to. [optional]

Example

from halo_client.models.role_binding import RoleBinding

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

# convert the object into a dict
role_binding_dict = role_binding_instance.to_dict()
# create an instance of RoleBinding from a dict
role_binding_from_dict = RoleBinding.from_dict(role_binding_dict)

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