Package com.courier.models.notifications
Class NotificationTemplatePayload.Subscription
-
- All Implemented Interfaces:
public final class NotificationTemplatePayload.SubscriptionSubscription topic reference, or null for none.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationTemplatePayload.Subscription.BuilderA builder for Subscription.
-
Method Summary
Modifier and Type Method Description final StringtopicId()final JsonField<String>_topicId()Returns the raw JSON value of topicId. final Map<String, JsonValue>_additionalProperties()final NotificationTemplatePayload.Subscription.BuildertoBuilder()final NotificationTemplatePayload.Subscriptionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationTemplatePayload.Subscription.Builderbuilder()Returns a mutable builder for constructing an instance of Subscription. -
-
Method Detail
-
_topicId
final JsonField<String> _topicId()
Returns the raw JSON value of topicId.
Unlike topicId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationTemplatePayload.Subscription.Builder toBuilder()
-
validate
final NotificationTemplatePayload.Subscription 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 NotificationTemplatePayload.Subscription.Builder builder()
Returns a mutable builder for constructing an instance of Subscription.
The following fields are required:
.topicId()
-
-
-
-