Package com.courier.models.lists
Class PutSubscriptionsRecipient
-
- All Implemented Interfaces:
public final class PutSubscriptionsRecipient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPutSubscriptionsRecipient.BuilderA builder for PutSubscriptionsRecipient.
-
Method Summary
Modifier and Type Method Description final StringrecipientId()final Optional<RecipientPreferences>preferences()final JsonField<String>_recipientId()Returns the raw JSON value of recipientId. final JsonField<RecipientPreferences>_preferences()Returns the raw JSON value of preferences. final Map<String, JsonValue>_additionalProperties()final PutSubscriptionsRecipient.BuildertoBuilder()final PutSubscriptionsRecipientvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PutSubscriptionsRecipient.Builderbuilder()Returns a mutable builder for constructing an instance of PutSubscriptionsRecipient. -
-
Method Detail
-
recipientId
final String recipientId()
-
preferences
final Optional<RecipientPreferences> preferences()
-
_recipientId
final JsonField<String> _recipientId()
Returns the raw JSON value of recipientId.
Unlike recipientId, this method doesn't throw if the JSON field has an unexpected type.
-
_preferences
final JsonField<RecipientPreferences> _preferences()
Returns the raw JSON value of preferences.
Unlike preferences, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PutSubscriptionsRecipient.Builder toBuilder()
-
validate
final PutSubscriptionsRecipient 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 PutSubscriptionsRecipient.Builder builder()
Returns a mutable builder for constructing an instance of PutSubscriptionsRecipient.
The following fields are required:
.recipientId()
-
-
-
-