Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.1 KB

File metadata and controls

31 lines (22 loc) · 1.1 KB

ContractEventCreateModel

Properties

Name Type Description Notes
message str Message for the event
reason str Reason for the event
type str Event type

Example

from hyperstack.models.contract_event_create_model import ContractEventCreateModel

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

# convert the object into a dict
contract_event_create_model_dict = contract_event_create_model_instance.to_dict()
# create an instance of ContractEventCreateModel from a dict
contract_event_create_model_from_dict = ContractEventCreateModel.from_dict(contract_event_create_model_dict)

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