Package com.courier.models.profiles
Class SubscribeToListsRequestItem
-
- All Implemented Interfaces:
public final class SubscribeToListsRequestItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSubscribeToListsRequestItem.BuilderA builder for SubscribeToListsRequestItem.
-
Method Summary
Modifier and Type Method Description final StringlistId()final Optional<RecipientPreferences>preferences()final JsonField<String>_listId()Returns the raw JSON value of listId. final JsonField<RecipientPreferences>_preferences()Returns the raw JSON value of preferences. final Map<String, JsonValue>_additionalProperties()final SubscribeToListsRequestItem.BuildertoBuilder()final SubscribeToListsRequestItemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SubscribeToListsRequestItem.Builderbuilder()Returns a mutable builder for constructing an instance of SubscribeToListsRequestItem. -
-
Method Detail
-
preferences
final Optional<RecipientPreferences> preferences()
-
_listId
final JsonField<String> _listId()
Returns the raw JSON value of listId.
Unlike listId, 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 SubscribeToListsRequestItem.Builder toBuilder()
-
validate
final SubscribeToListsRequestItem 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 SubscribeToListsRequestItem.Builder builder()
Returns a mutable builder for constructing an instance of SubscribeToListsRequestItem.
The following fields are required:
.listId()
-
-
-
-