Class SourceWebhook


  • public class SourceWebhook
    extends java.lang.Object
    SourceWebhook
    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_INTEGRATION_ID

        public static final java.lang.String JSON_PROPERTY_INTEGRATION_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ORIGINAL_MESSAGE_ID

        public static final java.lang.String JSON_PROPERTY_ORIGINAL_MESSAGE_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ORIGINAL_MESSAGE_TIMESTAMP

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

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

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

      • SourceWebhook

        public SourceWebhook()
    • Method Detail

      • getType

        @Nullable
        public java.lang.String getType()
        An identifier for the channel from which a message originated. May include one of api, sdk, messenger, or any number of other channels.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • integrationId

        public SourceWebhook integrationId​(java.lang.String integrationId)
      • getIntegrationId

        @Nullable
        public java.lang.String getIntegrationId()
        Identifier indicating which integration the message was sent from. For user messages only.
        Returns:
        integrationId
      • setIntegrationId

        public void setIntegrationId​(java.lang.String integrationId)
      • originalMessageId

        public SourceWebhook originalMessageId​(java.lang.String originalMessageId)
      • getOriginalMessageId

        @Nullable
        public java.lang.String getOriginalMessageId()
        Message identifier assigned by the originating channel.
        Returns:
        originalMessageId
      • getOriginalMessageId_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getOriginalMessageId_JsonNullable()
      • setOriginalMessageId_JsonNullable

        public void setOriginalMessageId_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originalMessageId)
      • setOriginalMessageId

        public void setOriginalMessageId​(java.lang.String originalMessageId)
      • originalMessageTimestamp

        public SourceWebhook originalMessageTimestamp​(java.lang.String originalMessageTimestamp)
      • getOriginalMessageTimestamp

        @Nullable
        public java.lang.String getOriginalMessageTimestamp()
        A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing when the third-party channel received the message.
        Returns:
        originalMessageTimestamp
      • getOriginalMessageTimestamp_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getOriginalMessageTimestamp_JsonNullable()
      • setOriginalMessageTimestamp_JsonNullable

        public void setOriginalMessageTimestamp_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originalMessageTimestamp)
      • setOriginalMessageTimestamp

        public void setOriginalMessageTimestamp​(java.lang.String originalMessageTimestamp)
      • getClient

        @Nullable
        public Client getClient()
        The client from which the user authored the message or activity, if applicable. This field will only be present if the `includeFullSource` option is enabled for the webhook.
        Returns:
        client
      • getClient_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<Client> getClient_JsonNullable()
      • setClient_JsonNullable

        public void setClient_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<Client> client)
      • setClient

        public void setClient​(Client client)
      • getDevice

        @Nullable
        public Device getDevice()
        The device from which the user authored the message or activity, if applicable. This field will only be present if the `includeFullSource` option is enabled for the webhook
        Returns:
        device
      • getDevice_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<Device> getDevice_JsonNullable()
      • setDevice_JsonNullable

        public void setDevice_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<Device> device)
      • setDevice

        public void setDevice​(Device device)
      • 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