Class TestListResponse.Item.Threshold.Value
-
- All Implemented Interfaces:
public final class TestListResponse.Item.Threshold.ValueThe value to be compared.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTestListResponse.Item.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(TestListResponse.Item.Threshold.Value.Visitor<T> visitor)final TestListResponse.Item.Threshold.Valuevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TestListResponse.Item.Threshold.ValueofNumber(Double number)final static TestListResponse.Item.Threshold.ValueofBool(Boolean bool)final static TestListResponse.Item.Threshold.ValueofString(String string)final static TestListResponse.Item.Threshold.ValueofStrings(List<String> strings)-
-
Method Detail
-
accept
final <T extends Any> T accept(TestListResponse.Item.Threshold.Value.Visitor<T> visitor)
-
validate
final TestListResponse.Item.Threshold.Value validate()
-
ofNumber
final static TestListResponse.Item.Threshold.Value ofNumber(Double number)
-
ofBool
final static TestListResponse.Item.Threshold.Value ofBool(Boolean bool)
-
ofString
final static TestListResponse.Item.Threshold.Value ofString(String string)
-
ofStrings
final static TestListResponse.Item.Threshold.Value ofStrings(List<String> strings)
-
-
-
-