Class TestUpdateParams.Payload.Threshold.Value
-
- All Implemented Interfaces:
public final class TestUpdateParams.Payload.Threshold.ValueThe value to be compared.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTestUpdateParams.Payload.Threshold.Value.VisitorAn interface that defines how to map each variant of Value to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<Double>number()final Optional<Boolean>bool()final Optional<String>string()final Optional<List<String>>strings()final BooleanisNumber()final BooleanisBool()final BooleanisString()final BooleanisStrings()final DoubleasNumber()final BooleanasBool()final StringasString()final List<String>asStrings()final Optional<JsonValue>_json()final <T extends Any> Taccept(TestUpdateParams.Payload.Threshold.Value.Visitor<T> visitor)final TestUpdateParams.Payload.Threshold.Valuevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TestUpdateParams.Payload.Threshold.ValueofNumber(Double number)final static TestUpdateParams.Payload.Threshold.ValueofBool(Boolean bool)final static TestUpdateParams.Payload.Threshold.ValueofString(String string)final static TestUpdateParams.Payload.Threshold.ValueofStrings(List<String> strings)-
-
Method Detail
-
accept
final <T extends Any> T accept(TestUpdateParams.Payload.Threshold.Value.Visitor<T> visitor)
-
validate
final TestUpdateParams.Payload.Threshold.Value validate()
-
ofNumber
final static TestUpdateParams.Payload.Threshold.Value ofNumber(Double number)
-
ofBool
final static TestUpdateParams.Payload.Threshold.Value ofBool(Boolean bool)
-
ofString
final static TestUpdateParams.Payload.Threshold.Value ofString(String string)
-
ofStrings
final static TestUpdateParams.Payload.Threshold.Value ofStrings(List<String> strings)
-
-
-
-