Package com.courier.models.send
Class SendMessageParams.Message.Preferences
-
- All Implemented Interfaces:
public final class SendMessageParams.Message.Preferences
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.Message.Preferences.BuilderA builder for Preferences.
-
Method Summary
Modifier and Type Method Description final StringsubscriptionTopicId()The subscription topic to apply to the message. final JsonField<String>_subscriptionTopicId()Returns the raw JSON value of subscriptionTopicId. final Map<String, JsonValue>_additionalProperties()final SendMessageParams.Message.Preferences.BuildertoBuilder()final SendMessageParams.Message.Preferencesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Message.Preferences.Builderbuilder()Returns a mutable builder for constructing an instance of Preferences. -
-
Method Detail
-
subscriptionTopicId
final String subscriptionTopicId()
The subscription topic to apply to the message.
-
_subscriptionTopicId
final JsonField<String> _subscriptionTopicId()
Returns the raw JSON value of subscriptionTopicId.
Unlike subscriptionTopicId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendMessageParams.Message.Preferences.Builder toBuilder()
-
validate
final SendMessageParams.Message.Preferences 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 SendMessageParams.Message.Preferences.Builder builder()
Returns a mutable builder for constructing an instance of Preferences.
The following fields are required:
.subscriptionTopicId()
-
-
-
-