Package com.courier.models.journeys
Class JourneyConditionGroup
-
- All Implemented Interfaces:
public final class JourneyConditionGroupA leaf condition group. Exactly one of
ANDorORmust be present at runtime; each is a list ofJourneyConditionAtomtuples.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyConditionGroup.BuilderA builder for JourneyConditionGroup.
-
Method Summary
Modifier and Type Method Description final Optional<List<List<String>>>and()final Optional<List<List<String>>>or()final JsonField<List<List<String>>>_and()Returns the raw JSON value of and. final JsonField<List<List<String>>>_or()Returns the raw JSON value of or. final Map<String, JsonValue>_additionalProperties()final JourneyConditionGroup.BuildertoBuilder()final JourneyConditionGroupvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyConditionGroup.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyConditionGroup. -
-
Method Detail
-
_and
final JsonField<List<List<String>>> _and()
Returns the raw JSON value of and.
Unlike and, this method doesn't throw if the JSON field has an unexpected type.
-
_or
final JsonField<List<List<String>>> _or()
Returns the raw JSON value of or.
Unlike or, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyConditionGroup.Builder toBuilder()
-
validate
final JourneyConditionGroup 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 JourneyConditionGroup.Builder builder()
Returns a mutable builder for constructing an instance of JourneyConditionGroup.
-
-
-
-