Class MessageGetContentResponse.Data.MessagePushContent.Builder
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessagePushContent.BuilderA builder for MessagePushContent.
-
-
Method Summary
-
-
Method Detail
-
token
final MessageGetContentResponse.Data.MessagePushContent.Builder token(String token)
The device token to send the push notification to.
-
token
final MessageGetContentResponse.Data.MessagePushContent.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_typename
final MessageGetContentResponse.Data.MessagePushContent.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final MessageGetContentResponse.Data.MessagePushContent.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
body
final MessageGetContentResponse.Data.MessagePushContent.Builder body(String body)
The content body of the push notification.
-
body
final MessageGetContentResponse.Data.MessagePushContent.Builder body(JsonField<String> body)
Sets Builder.body to an arbitrary JSON value.
You should usually call Builder.body with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final MessageGetContentResponse.Data.MessagePushContent.Builder title(String title)
The title of the push notification.
-
title
final MessageGetContentResponse.Data.MessagePushContent.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
data
final MessageGetContentResponse.Data.MessagePushContent.Builder data(MessageGetContentResponse.Data.MessagePushContent.InnerData data)
Additional data payload for the push notification.
-
data
final MessageGetContentResponse.Data.MessagePushContent.Builder data(Optional<MessageGetContentResponse.Data.MessagePushContent.InnerData> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final MessageGetContentResponse.Data.MessagePushContent.Builder data(JsonField<MessageGetContentResponse.Data.MessagePushContent.InnerData> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed InnerData value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageGetContentResponse.Data.MessagePushContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageGetContentResponse.Data.MessagePushContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageGetContentResponse.Data.MessagePushContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageGetContentResponse.Data.MessagePushContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageGetContentResponse.Data.MessagePushContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageGetContentResponse.Data.MessagePushContent build()
Returns an immutable instance of MessagePushContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() ._typename() .body() .title()
-
-
-
-