Class UserToken.Device.Builder
-
- All Implemented Interfaces:
public final class UserToken.Device.BuilderA builder for Device.
-
-
Method Summary
-
-
Method Detail
-
adId
final UserToken.Device.Builder adId(String adId)
Id of the advertising identifier
-
adId
final UserToken.Device.Builder adId(Optional<String> adId)
Alias for calling Builder.adId with
adId.orElse(null).
-
adId
final UserToken.Device.Builder adId(JsonField<String> adId)
Sets Builder.adId to an arbitrary JSON value.
You should usually call Builder.adId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
appId
final UserToken.Device.Builder appId(String appId)
Id of the application the token is used for
-
appId
final UserToken.Device.Builder appId(Optional<String> appId)
Alias for calling Builder.appId with
appId.orElse(null).
-
appId
final UserToken.Device.Builder appId(JsonField<String> appId)
Sets Builder.appId to an arbitrary JSON value.
You should usually call Builder.appId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deviceId
final UserToken.Device.Builder deviceId(String deviceId)
Id of the device the token is associated with
-
deviceId
final UserToken.Device.Builder deviceId(Optional<String> deviceId)
Alias for calling Builder.deviceId with
deviceId.orElse(null).
-
deviceId
final UserToken.Device.Builder deviceId(JsonField<String> deviceId)
Sets Builder.deviceId to an arbitrary JSON value.
You should usually call Builder.deviceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
manufacturer
final UserToken.Device.Builder manufacturer(String manufacturer)
The device manufacturer
-
manufacturer
final UserToken.Device.Builder manufacturer(Optional<String> manufacturer)
Alias for calling Builder.manufacturer with
manufacturer.orElse(null).
-
manufacturer
final UserToken.Device.Builder manufacturer(JsonField<String> manufacturer)
Sets Builder.manufacturer to an arbitrary JSON value.
You should usually call Builder.manufacturer with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
model
final UserToken.Device.Builder model(String model)
The device model
-
model
final UserToken.Device.Builder model(Optional<String> model)
Alias for calling Builder.model with
model.orElse(null).
-
model
final UserToken.Device.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
platform
final UserToken.Device.Builder platform(String platform)
The device platform i.e. android, ios, web
-
platform
final UserToken.Device.Builder platform(Optional<String> platform)
Alias for calling Builder.platform with
platform.orElse(null).
-
platform
final UserToken.Device.Builder platform(JsonField<String> platform)
Sets Builder.platform to an arbitrary JSON value.
You should usually call Builder.platform with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UserToken.Device.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UserToken.Device.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UserToken.Device.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UserToken.Device.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UserToken.Device.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UserToken.Device build()
Returns an immutable instance of Device.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-