Class JourneyThrottleStaticNode
-
- All Implemented Interfaces:
public final class JourneyThrottleStaticNodeThrottle the journey by a static
scope(userorglobal), allowing at mostmax_allowedinvocations perperiod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyThrottleStaticNode.BuilderA builder for JourneyThrottleStaticNode.
public final classJourneyThrottleStaticNode.Scopepublic final classJourneyThrottleStaticNode.Type
-
Method Summary
Modifier and Type Method Description final LongmaxAllowed()final Stringperiod()final JourneyThrottleStaticNode.Scopescope()final JourneyThrottleStaticNode.Typetype()final Optional<String>id()final Optional<JourneyConditionsField>conditions()Condition spec for a journey node. final JsonField<Long>_maxAllowed()Returns the raw JSON value of maxAllowed. final JsonField<String>_period()Returns the raw JSON value of period. final JsonField<JourneyThrottleStaticNode.Scope>_scope()Returns the raw JSON value of scope. final JsonField<JourneyThrottleStaticNode.Type>_type()Returns the raw JSON value of type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<JourneyConditionsField>_conditions()Returns the raw JSON value of conditions. final Map<String, JsonValue>_additionalProperties()final JourneyThrottleStaticNode.BuildertoBuilder()final JourneyThrottleStaticNodevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyThrottleStaticNode.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyThrottleStaticNode. -
-
Method Detail
-
maxAllowed
final Long maxAllowed()
-
scope
final JourneyThrottleStaticNode.Scope scope()
-
type
final JourneyThrottleStaticNode.Type type()
-
conditions
final Optional<JourneyConditionsField> conditions()
Condition spec for a journey node. Accepts a single condition atom, an AND/OR group, or an AND/OR nested group. Omit the
conditionsproperty entirely to express "no conditions".
-
_maxAllowed
final JsonField<Long> _maxAllowed()
Returns the raw JSON value of maxAllowed.
Unlike maxAllowed, this method doesn't throw if the JSON field has an unexpected type.
-
_period
final JsonField<String> _period()
Returns the raw JSON value of period.
Unlike period, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<JourneyThrottleStaticNode.Scope> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyThrottleStaticNode.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_conditions
final JsonField<JourneyConditionsField> _conditions()
Returns the raw JSON value of conditions.
Unlike conditions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyThrottleStaticNode.Builder toBuilder()
-
validate
final JourneyThrottleStaticNode 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 JourneyThrottleStaticNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyThrottleStaticNode.
The following fields are required:
.maxAllowed() .period() .scope() .type()
-
-
-
-