Package com.mypurecloud.sdk.v2.model
Class PushDeviceInsertRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.PushDeviceInsertRequest
- All Implemented Interfaces:
Serializable
PushDeviceInsertRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the device (Android / IoS)static enumThe notification provider for the device (FCM / APNS) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeviceToken(String deviceToken) The device token generated by the network providersdeviceType(PushDeviceInsertRequest.DeviceTypeEnum deviceType) The type of the device (Android / IoS)booleaninthashCode()The preferred language of the user (eg. en-us, de, fr)notificationProvider(PushDeviceInsertRequest.NotificationProviderEnum notificationProvider) The notification provider for the device (FCM / APNS)voidsetDeviceToken(String deviceToken) voidsetDeviceType(PushDeviceInsertRequest.DeviceTypeEnum deviceType) voidsetLanguage(String language) voidsetNotificationProvider(PushDeviceInsertRequest.NotificationProviderEnum notificationProvider) toString()
-
Constructor Details
-
PushDeviceInsertRequest
public PushDeviceInsertRequest() -
PushDeviceInsertRequest
-
-
Method Details
-
deviceToken
The device token generated by the network providers -
getDeviceToken
-
setDeviceToken
-
notificationProvider
public PushDeviceInsertRequest notificationProvider(PushDeviceInsertRequest.NotificationProviderEnum notificationProvider) The notification provider for the device (FCM / APNS) -
getNotificationProvider
-
setNotificationProvider
public void setNotificationProvider(PushDeviceInsertRequest.NotificationProviderEnum notificationProvider) -
language
The preferred language of the user (eg. en-us, de, fr) -
getLanguage
-
setLanguage
-
deviceType
The type of the device (Android / IoS) -
getDeviceType
-
setDeviceType
-
equals
-
hashCode
public int hashCode() -
toString
-