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