Package com.lithic.api.models
Class RuleStats.Example
-
- All Implemented Interfaces:
public final class RuleStats.Example
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRuleStats.Example.BuilderA builder for Example.
public final classRuleStats.Example.DecisionThe decision made by the rule for this event.
-
Method Summary
Modifier and Type Method Description final Optional<Boolean>approved()Whether the rule would have approved the request. final Optional<RuleStats.Example.Decision>decision()The decision made by the rule for this event. final Optional<String>eventToken()The event token. final Optional<OffsetDateTime>timestamp()The timestamp of the event. final JsonField<Boolean>_approved()Returns the raw JSON value of approved. final JsonField<RuleStats.Example.Decision>_decision()Returns the raw JSON value of decision. final JsonField<String>_eventToken()Returns the raw JSON value of eventToken. final JsonField<OffsetDateTime>_timestamp()Returns the raw JSON value of timestamp. final Map<String, JsonValue>_additionalProperties()final RuleStats.Example.BuildertoBuilder()final RuleStats.Examplevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RuleStats.Example.Builderbuilder()Returns a mutable builder for constructing an instance of Example. -
-
Method Detail
-
decision
final Optional<RuleStats.Example.Decision> decision()
The decision made by the rule for this event.
-
eventToken
final Optional<String> eventToken()
The event token.
-
timestamp
final Optional<OffsetDateTime> timestamp()
The timestamp of the event.
-
_approved
final JsonField<Boolean> _approved()
Returns the raw JSON value of approved.
Unlike approved, this method doesn't throw if the JSON field has an unexpected type.
-
_decision
final JsonField<RuleStats.Example.Decision> _decision()
Returns the raw JSON value of decision.
Unlike decision, this method doesn't throw if the JSON field has an unexpected type.
-
_eventToken
final JsonField<String> _eventToken()
Returns the raw JSON value of eventToken.
Unlike eventToken, this method doesn't throw if the JSON field has an unexpected type.
-
_timestamp
final JsonField<OffsetDateTime> _timestamp()
Returns the raw JSON value of timestamp.
Unlike timestamp, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RuleStats.Example.Builder toBuilder()
-
validate
final RuleStats.Example validate()
-
builder
final static RuleStats.Example.Builder builder()
Returns a mutable builder for constructing an instance of Example.
-
-
-
-