Package com.mypurecloud.sdk.v2.model
Class ConversationContentPush
java.lang.Object
com.mypurecloud.sdk.v2.model.ConversationContentPush
- All Implemented Interfaces:
Serializable
A Push object
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe device type used to send the push notification -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeviceToken(String deviceToken) device token from the notification providerdeviceTokenId(String deviceTokenId) Unique Id of the device tokendeviceType(ConversationContentPush.DeviceTypeEnum deviceType) The device type used to send the push notificationbooleanexpiration(Long expiration) The time to live of the pushed messagefailedMessages(List<ConversationPushFailedMessageReferences> failedMessages) MessageIds failed to be sent which trigger the push eventinthashCode()notificationMessage(ConversationPushNotificationMessageLabel notificationMessage) Title and body localized according to deploymentpushProviderIntegration(ConversationPushProviderIntegration pushProviderIntegration) Push provider integrations details configured on the deploymentvoidsetDeviceToken(String deviceToken) voidsetDeviceTokenId(String deviceTokenId) voidsetDeviceType(ConversationContentPush.DeviceTypeEnum deviceType) voidsetExpiration(Long expiration) voidsetFailedMessages(List<ConversationPushFailedMessageReferences> failedMessages) voidsetNotificationMessage(ConversationPushNotificationMessageLabel notificationMessage) voidsetPushProviderIntegration(ConversationPushProviderIntegration pushProviderIntegration) toString()
-
Constructor Details
-
ConversationContentPush
public ConversationContentPush() -
ConversationContentPush
-
-
Method Details
-
deviceType
The device type used to send the push notification -
getDeviceType
-
setDeviceType
-
deviceTokenId
Unique Id of the device token -
getDeviceTokenId
-
setDeviceTokenId
-
deviceToken
device token from the notification provider -
getDeviceToken
-
setDeviceToken
-
failedMessages
public ConversationContentPush failedMessages(List<ConversationPushFailedMessageReferences> failedMessages) MessageIds failed to be sent which trigger the push event -
getFailedMessages
-
setFailedMessages
-
notificationMessage
public ConversationContentPush notificationMessage(ConversationPushNotificationMessageLabel notificationMessage) Title and body localized according to deployment -
getNotificationMessage
-
setNotificationMessage
-
pushProviderIntegration
public ConversationContentPush pushProviderIntegration(ConversationPushProviderIntegration pushProviderIntegration) Push provider integrations details configured on the deployment -
getPushProviderIntegration
-
setPushProviderIntegration
-
expiration
The time to live of the pushed message -
getExpiration
-
setExpiration
-
equals
-
hashCode
public int hashCode() -
toString
-