Package io.getlime.push.model.request
Class CreateDeviceForActivationsRequest
java.lang.Object
io.getlime.push.model.request.CreateDeviceForActivationsRequest
Request object used for device registration in case multiple associated activations are used.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionCreateDeviceForActivationsRequest(String appId, String token, MobilePlatform platform, ApnsEnvironment environment) Creates a newCreateDeviceForActivationsRequestinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Activation IDs.getAppId()Application ID.Environment for APNs (optional).The platform.getToken()The push token is the value received from APNS, FCM, or HMS services without any modification.voidApplication ID.voidsetEnvironment(ApnsEnvironment environment) Environment for APNs (optional).voidsetPlatform(MobilePlatform platform) The platform.voidThe push token is the value received from APNS, FCM, or HMS services without any modification.
-
Constructor Details
-
CreateDeviceForActivationsRequest
public CreateDeviceForActivationsRequest(String appId, String token, MobilePlatform platform, ApnsEnvironment environment) Creates a newCreateDeviceForActivationsRequestinstance.- Parameters:
appId- Application ID.token- The push token is the value received from APNS, FCM, or HMS services without any modification.platform- The platform.environment- Environment for APNs (optional).
-
CreateDeviceForActivationsRequest
public CreateDeviceForActivationsRequest()
-
-
Method Details
-
builder
-
getAppId
Application ID. -
getToken
The push token is the value received from APNS, FCM, or HMS services without any modification. -
getPlatform
The platform. -
getEnvironment
Environment for APNs (optional). -
getActivationIds
Activation IDs. -
setAppId
Application ID. -
setToken
The push token is the value received from APNS, FCM, or HMS services without any modification. -
setPlatform
The platform. -
setEnvironment
Environment for APNs (optional).
-