Message Callback Schema
Name | Type | Description | Notes |
---|---|---|---|
time | datetime | ||
type | CallbackTypeEnum | ||
to | str | ||
description | str | A detailed description of the event described by the callback. | |
message | MessageCallbackMessage | ||
error_code | int | Optional error code, applicable only when type is `message-failed`. | [optional] |
from bandwidth.models.message_callback import MessageCallback
# TODO update the JSON string below
json = "{}"
# create an instance of MessageCallback from a JSON string
message_callback_instance = MessageCallback.from_json(json)
# print the JSON string representation of the object
print(MessageCallback.to_json())
# convert the object into a dict
message_callback_dict = message_callback_instance.to_dict()
# create an instance of MessageCallback from a dict
message_callback_from_dict = MessageCallback.from_dict(message_callback_dict)