Class ClientAddEventAllOfPayload


  • public class ClientAddEventAllOfPayload
    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_USER

        public static final java.lang.String JSON_PROPERTY_USER
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CLIENT

        public static final java.lang.String JSON_PROPERTY_CLIENT
        See Also:
        Constant Field Values
      • JSON_PROPERTY_REASON

        public static final java.lang.String JSON_PROPERTY_REASON
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SOURCE

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

      • ClientAddEventAllOfPayload

        public ClientAddEventAllOfPayload()
    • Method Detail

      • getConversation

        @Nullable
        public ConversationTruncated getConversation()
        The conversation associated with the creation of the client. This field is only present when the reason is `channelLinking` and when attaching the client to a specific conversation.
        Returns:
        conversation
      • getConversation_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<ConversationTruncated> getConversation_JsonNullable()
      • setConversation_JsonNullable

        public void setConversation_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<ConversationTruncated> conversation)
      • getUser

        @Nullable
        public UserTruncated getUser()
        The user associated with the client.
        Returns:
        user
      • getClient

        @Nullable
        public Client getClient()
        The client that was just created.
        Returns:
        client
      • setClient

        public void setClient​(Client client)
      • getReason

        @Nullable
        public ClientAddEventAllOfPayload.ReasonEnum getReason()
        The reason for which the client was added. * `channelLinking` - The client was created as a result of initiating a channel link. * `sdkLogin` - The client was created as a result of logging into an SDK device. * `authCode` - The client was created as a result of initializing an SDK client with an `authCode`.
        Returns:
        reason
      • getSource

        @Nullable
        public SourceWebhook getSource()
        The source where this event originated from. This could be the API or an SDK device.
        Returns:
        source
      • 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