Class TokenAddSingleParams.Device
-
- All Implemented Interfaces:
public final class TokenAddSingleParams.DeviceInformation about the device the token came from.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenAddSingleParams.Device.BuilderA builder for Device.
-
Method Summary
Modifier and Type Method Description final Optional<String>adId()Id of the advertising identifier final Optional<String>appId()Id of the application the token is used for final Optional<String>deviceId()Id of the device the token is associated with final Optional<String>manufacturer()The device manufacturer final Optional<String>model()The device model final Optional<String>platform()The device platform i.e. final JsonField<String>_adId()Returns the raw JSON value of adId. final JsonField<String>_appId()Returns the raw JSON value of appId. final JsonField<String>_deviceId()Returns the raw JSON value of deviceId. final JsonField<String>_manufacturer()Returns the raw JSON value of manufacturer. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<String>_platform()Returns the raw JSON value of platform. final Map<String, JsonValue>_additionalProperties()final TokenAddSingleParams.Device.BuildertoBuilder()final TokenAddSingleParams.Devicevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TokenAddSingleParams.Device.Builderbuilder()Returns a mutable builder for constructing an instance of Device. -
-
Method Detail
-
manufacturer
final Optional<String> manufacturer()
The device manufacturer
-
_adId
final JsonField<String> _adId()
Returns the raw JSON value of adId.
Unlike adId, this method doesn't throw if the JSON field has an unexpected type.
-
_appId
final JsonField<String> _appId()
Returns the raw JSON value of appId.
Unlike appId, this method doesn't throw if the JSON field has an unexpected type.
-
_deviceId
final JsonField<String> _deviceId()
Returns the raw JSON value of deviceId.
Unlike deviceId, this method doesn't throw if the JSON field has an unexpected type.
-
_manufacturer
final JsonField<String> _manufacturer()
Returns the raw JSON value of manufacturer.
Unlike manufacturer, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_platform
final JsonField<String> _platform()
Returns the raw JSON value of platform.
Unlike platform, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TokenAddSingleParams.Device.Builder toBuilder()
-
validate
final TokenAddSingleParams.Device validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static TokenAddSingleParams.Device.Builder builder()
Returns a mutable builder for constructing an instance of Device.
-
-
-
-