Class MessageGetContentResponse.Data.MessagePushContent
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessagePushContentThe content of a push notification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageGetContentResponse.Data.MessagePushContent.BuilderA builder for MessagePushContent.
public final classMessageGetContentResponse.Data.MessagePushContent.InnerDataAdditional data payload for the push notification.
-
Method Summary
Modifier and Type Method Description final Stringtoken()The device token to send the push notification to. final String_typename()The typename of the schema. final Stringbody()The content body of the push notification. final Stringtitle()The title of the push notification. final Optional<MessageGetContentResponse.Data.MessagePushContent.InnerData>data()Additional data payload for the push notification. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<String>_body()Returns the raw JSON value of body. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<MessageGetContentResponse.Data.MessagePushContent.InnerData>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final MessageGetContentResponse.Data.MessagePushContent.BuildertoBuilder()final MessageGetContentResponse.Data.MessagePushContentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageGetContentResponse.Data.MessagePushContent.Builderbuilder()Returns a mutable builder for constructing an instance of MessagePushContent. -
-
Method Detail
-
data
final Optional<MessageGetContentResponse.Data.MessagePushContent.InnerData> data()
Additional data payload for the push notification.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_body
final JsonField<String> _body()
Returns the raw JSON value of body.
Unlike body, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<MessageGetContentResponse.Data.MessagePushContent.InnerData> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageGetContentResponse.Data.MessagePushContent.Builder toBuilder()
-
validate
final MessageGetContentResponse.Data.MessagePushContent validate()
-
builder
final static MessageGetContentResponse.Data.MessagePushContent.Builder builder()
Returns a mutable builder for constructing an instance of MessagePushContent.
The following fields are required:
.token() ._typename() .body() .title()
-
-
-
-