Class ConversationMessageDeliveryPayloadDestination
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ConversationMessageDeliveryPayloadDestination
-
public class ConversationMessageDeliveryPayloadDestination extends java.lang.ObjectA nested object representing the destination of the message.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description ConversationMessageDeliveryPayloadDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetIntegrationId()Identifier indicating which integration the message was sent to.java.lang.StringgetType()An identifier for the channel to which a message was sent to.inthashCode()ConversationMessageDeliveryPayloadDestinationintegrationId(java.lang.String integrationId)voidsetIntegrationId(java.lang.String integrationId)voidsetType(java.lang.String type)java.lang.StringtoString()ConversationMessageDeliveryPayloadDestinationtype(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
-
-
Method Detail
-
type
public ConversationMessageDeliveryPayloadDestination type(java.lang.String type)
-
getType
@Nullable public java.lang.String getType()
An identifier for the channel to which a message was sent to. May include one of \"web\", \"ios\", \"android\", \"messenger\", \"viber\", \"telegram\", \"wechat\", \"line\", \"twilio\", \"api\", \"notification\", or any other channel.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
integrationId
public ConversationMessageDeliveryPayloadDestination integrationId(java.lang.String integrationId)
-
getIntegrationId
@Nullable public java.lang.String getIntegrationId()
Identifier indicating which integration the message was sent to.- Returns:
- integrationId
-
setIntegrationId
public void setIntegrationId(java.lang.String integrationId)
-
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
-
-