Package com.courier.models
Class ListRecipient
-
- All Implemented Interfaces:
public final class ListRecipientSend to all users in a specific list
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classListRecipient.BuilderA builder for ListRecipient.
public final classListRecipient.Data
-
Method Summary
Modifier and Type Method Description final Optional<ListRecipient.Data>data()final Optional<List<ListFilter>>filters()final Optional<String>listId()final JsonField<ListRecipient.Data>_data()Returns the raw JSON value of data. final JsonField<List<ListFilter>>_filters()Returns the raw JSON value of filters. final JsonField<String>_listId()Returns the raw JSON value of listId. final Map<String, JsonValue>_additionalProperties()final ListRecipient.BuildertoBuilder()final ListRecipientvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ListRecipient.Builderbuilder()Returns a mutable builder for constructing an instance of ListRecipient. -
-
Method Detail
-
data
final Optional<ListRecipient.Data> data()
-
filters
final Optional<List<ListFilter>> filters()
-
_data
final JsonField<ListRecipient.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_filters
final JsonField<List<ListFilter>> _filters()
Returns the raw JSON value of filters.
Unlike filters, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ListRecipient.Builder toBuilder()
-
validate
final ListRecipient 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 ListRecipient.Builder builder()
Returns a mutable builder for constructing an instance of ListRecipient.
-
-
-
-