Class SwitchboardOfferControlAllOfPayload


  • public class SwitchboardOfferControlAllOfPayload
    extends java.lang.Object
    The payload of the event. The contents of this object depend on the type of event.
    • Field Detail

      • JSON_PROPERTY_CONVERSATION

        public static final java.lang.String JSON_PROPERTY_CONVERSATION
        See Also:
        Constant Field Values
      • JSON_PROPERTY_METADATA

        public static final java.lang.String JSON_PROPERTY_METADATA
        See Also:
        Constant Field Values
    • Constructor Detail

      • SwitchboardOfferControlAllOfPayload

        public SwitchboardOfferControlAllOfPayload()
    • Method Detail

      • getConversation

        @Nullable
        public ConversationTruncated getConversation()
        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.
        Returns:
        conversation
      • getMetadata

        @Nullable
        public java.lang.Object getMetadata()
        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.
        Returns:
        metadata
      • getMetadata_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.Object> getMetadata_JsonNullable()
      • setMetadata_JsonNullable

        public void setMetadata_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Object> metadata)
      • setMetadata

        public void setMetadata​(java.lang.Object metadata)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object