Class Audience
-
- All Implemented Interfaces:
public final class Audience
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAudience.BuilderA builder for Audience.
public final classAudience.OperatorThe logical operator (AND/OR) for the top-level filter
-
Method Summary
Modifier and Type Method Description final Stringid()A unique identifier representing the audience_id final StringcreatedAt()final Stringdescription()A description of the audience final Stringname()The name of the audience final StringupdatedAt()final Optional<AudienceFilterConfig>filter()Filter configuration for audience membership containing an array of filter rules final Optional<Audience.Operator>operator()The logical operator (AND/OR) for the top-level filter final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<AudienceFilterConfig>_filter()Returns the raw JSON value of filter. final JsonField<Audience.Operator>_operator()Returns the raw JSON value of operator. final Map<String, JsonValue>_additionalProperties()final Audience.BuildertoBuilder()final Audiencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Audience.Builderbuilder()Returns a mutable builder for constructing an instance of Audience. -
-
Method Detail
-
description
final String description()
A description of the audience
-
filter
final Optional<AudienceFilterConfig> filter()
Filter configuration for audience membership containing an array of filter rules
-
operator
final Optional<Audience.Operator> operator()
The logical operator (AND/OR) for the top-level filter
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<String> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<String> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_filter
final JsonField<AudienceFilterConfig> _filter()
Returns the raw JSON value of filter.
Unlike filter, this method doesn't throw if the JSON field has an unexpected type.
-
_operator
final JsonField<Audience.Operator> _operator()
Returns the raw JSON value of operator.
Unlike operator, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Audience.Builder toBuilder()
-
validate
final Audience 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 Audience.Builder builder()
Returns a mutable builder for constructing an instance of Audience.
The following fields are required:
.id() .createdAt() .description() .name() .updatedAt()
-
-
-
-