Class GreaterThanValidation
java.lang.Object
co.elastic.clients.elasticsearch.connector.GreaterThanValidation
- All Implemented Interfaces:
ValidationVariant
,JsonpSerializable
@JsonpDeserializable
public class GreaterThanValidation
extends Object
implements ValidationVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GreaterThanValidation>
Json deserializer forGreaterThanValidation
-
Method Summary
Modifier and TypeMethodDescriptionValidation variant kind.final double
Required - API name:constraint
static GreaterThanValidation
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.connector.ValidationVariant
_toValidation
-
Field Details
-
_DESERIALIZER
Json deserializer forGreaterThanValidation
-
-
Method Details
-
of
public static GreaterThanValidation of(Function<GreaterThanValidation.Builder, ObjectBuilder<GreaterThanValidation>> fn) -
_validationKind
Validation variant kind.- Specified by:
_validationKind
in interfaceValidationVariant
-
constraint
public final double constraint()Required - API name:constraint
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGreaterThanValidationDeserializer
protected static void setupGreaterThanValidationDeserializer(ObjectDeserializer<GreaterThanValidation.Builder> op)
-