Class SourceWebhook
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.SourceWebhook
-
public class SourceWebhook extends java.lang.ObjectSourceWebhook
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_CLIENTstatic java.lang.StringJSON_PROPERTY_DEVICEstatic java.lang.StringJSON_PROPERTY_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_ORIGINAL_MESSAGE_IDstatic java.lang.StringJSON_PROPERTY_ORIGINAL_MESSAGE_TIMESTAMPstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description SourceWebhook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceWebhookclient(Client client)SourceWebhookdevice(Device device)booleanequals(java.lang.Object o)ClientgetClient()The client from which the user authored the message or activity, if applicable.org.openapitools.jackson.nullable.JsonNullable<Client>getClient_JsonNullable()DevicegetDevice()The device from which the user authored the message or activity, if applicable.org.openapitools.jackson.nullable.JsonNullable<Device>getDevice_JsonNullable()java.lang.StringgetIntegrationId()Identifier indicating which integration the message was sent from.java.lang.StringgetOriginalMessageId()Message identifier assigned by the originating channel.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getOriginalMessageId_JsonNullable()java.lang.StringgetOriginalMessageTimestamp()A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing when the third-party channel received the message.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getOriginalMessageTimestamp_JsonNullable()java.lang.StringgetType()An identifier for the channel from which a message originated.inthashCode()SourceWebhookintegrationId(java.lang.String integrationId)SourceWebhookoriginalMessageId(java.lang.String originalMessageId)SourceWebhookoriginalMessageTimestamp(java.lang.String originalMessageTimestamp)voidsetClient(Client client)voidsetClient_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Client> client)voidsetDevice(Device device)voidsetDevice_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Device> device)voidsetIntegrationId(java.lang.String integrationId)voidsetOriginalMessageId(java.lang.String originalMessageId)voidsetOriginalMessageId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originalMessageId)voidsetOriginalMessageTimestamp(java.lang.String originalMessageTimestamp)voidsetOriginalMessageTimestamp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originalMessageTimestamp)voidsetType(java.lang.String type)java.lang.StringtoString()SourceWebhooktype(java.lang.String type)
-
-
-
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
-
-
Method Detail
-
type
public SourceWebhook type(java.lang.String type)
-
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)
-
client
public SourceWebhook client(Client client)
-
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)
-
device
public SourceWebhook device(Device device)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-