Class AudienceRecipient
-
- All Implemented Interfaces:
public final class AudienceRecipientSend to all users in an audience
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAudienceRecipient.BuilderA builder for AudienceRecipient.
public final classAudienceRecipient.Data
-
Method Summary
Modifier and Type Method Description final StringaudienceId()A unique identifier associated with an Audience. final Optional<AudienceRecipient.Data>data()final Optional<List<AudienceFilter>>filters()final JsonField<String>_audienceId()Returns the raw JSON value of audienceId. final JsonField<AudienceRecipient.Data>_data()Returns the raw JSON value of data. final JsonField<List<AudienceFilter>>_filters()Returns the raw JSON value of filters. final Map<String, JsonValue>_additionalProperties()final AudienceRecipient.BuildertoBuilder()final AudienceRecipientvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AudienceRecipient.Builderbuilder()Returns a mutable builder for constructing an instance of AudienceRecipient. -
-
Method Detail
-
audienceId
final String audienceId()
A unique identifier associated with an Audience. A message will be sent to each user in the audience.
-
data
final Optional<AudienceRecipient.Data> data()
-
filters
final Optional<List<AudienceFilter>> filters()
-
_audienceId
final JsonField<String> _audienceId()
Returns the raw JSON value of audienceId.
Unlike audienceId, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<AudienceRecipient.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<AudienceFilter>> _filters()
Returns the raw JSON value of filters.
Unlike filters, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AudienceRecipient.Builder toBuilder()
-
validate
final AudienceRecipient 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 AudienceRecipient.Builder builder()
Returns a mutable builder for constructing an instance of AudienceRecipient.
The following fields are required:
.audienceId()
-
-
-
-