The payload of the event. The contents of this object depend on the type of event.
| Name | Type | Description | Notes |
|---|---|---|---|
| error | object | Object containing details of what went wrong. | [optional] |
| conversation | ConversationTruncated | The conversation from which the switchboard event was fired. | [optional] |
| metadata | Dict[str, object] | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional] |
from sunshine_conversations_client.model.switchboard_accept_control_failure_all_of_payload import SwitchboardAcceptControlFailureAllOfPayload
# TODO update the JSON string below
json = "{}"
# create an instance of SwitchboardAcceptControlFailureAllOfPayload from a JSON string
switchboard_accept_control_failure_all_of_payload_instance = SwitchboardAcceptControlFailureAllOfPayload.from_json(json)
# print the JSON string representation of the object
print(SwitchboardAcceptControlFailureAllOfPayload.to_json())
# convert the object into a dict
switchboard_accept_control_failure_all_of_payload_dict = switchboard_accept_control_failure_all_of_payload_instance.to_dict()
# create an instance of SwitchboardAcceptControlFailureAllOfPayload from a dict
switchboard_accept_control_failure_all_of_payload_from_dict = SwitchboardAcceptControlFailureAllOfPayload.from_dict(switchboard_accept_control_failure_all_of_payload_dict)