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