Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.31 KB

File metadata and controls

31 lines (22 loc) · 1.31 KB

Subject

Properties

Name Type Description Notes
api_group str APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.halo.run" for User and Group subjects. [optional]
kind str Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognize the kind value, the Authorizer should report an error. [optional]
name str Name of the object being referenced. [optional]

Example

from halo_client.models.subject import Subject

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

# convert the object into a dict
subject_dict = subject_instance.to_dict()
# create an instance of Subject from a dict
subject_from_dict = Subject.from_dict(subject_dict)

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