Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.13 KB

File metadata and controls

33 lines (24 loc) · 1.13 KB

ReasonType

{@link ReasonType ReasonType} is a custom extension that defines a type of reason.

One {@link ReasonType ReasonType} can have multiple {@link Reason Reason}s to notify.

Properties

Name Type Description Notes
api_version str
kind str
metadata Metadata
spec ReasonTypeSpec [optional]

Example

from halo_client.models.reason_type import ReasonType

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

# convert the object into a dict
reason_type_dict = reason_type_instance.to_dict()
# create an instance of ReasonType from a dict
reason_type_from_dict = ReasonType.from_dict(reason_type_dict)

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