Individual (info/warning/error) message in a response.
Name | Type | Description | Notes |
---|---|---|---|
code | str | [optional] | |
message | str | ||
level | MessageLevel | [optional] [default to MessageLevel.INFO] | |
args | object | [optional] |
from waylay.services.queries.models.message import Message
# TODO update the JSON string below
json = "{}"
# create an instance of Message from a JSON string
message_instance = Message.from_json(json)
# print the JSON string representation of the object
print Message.to_json()
# convert the object into a dict
message_dict = message_instance.to_dict()
# create an instance of Message from a dict
message_form_dict = message.from_dict(message_dict)