Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.83 KB

File metadata and controls

31 lines (22 loc) · 1.83 KB

SwitchboardOfferControlAllOfPayload

The payload of the event. The contents of this object depend on the type of event.

Properties

Name Type Description Notes
conversation ConversationTruncated The conversation from which the switchboard event was fired. On success, the payload will include an `activeSwitchboardIntegration`, representing the integration from which control is being offered, and a `pendingSwitchboardIntegration`, representing the integration being offered control. [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]

Example

from sunshine_conversations_client.model.switchboard_offer_control_all_of_payload import SwitchboardOfferControlAllOfPayload

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

# convert the object into a dict
switchboard_offer_control_all_of_payload_dict = switchboard_offer_control_all_of_payload_instance.to_dict()
# create an instance of SwitchboardOfferControlAllOfPayload from a dict
switchboard_offer_control_all_of_payload_from_dict = SwitchboardOfferControlAllOfPayload.from_dict(switchboard_offer_control_all_of_payload_dict)

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