Class SizeField
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.SizeField
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SizeField extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSizeField.BuilderBuilder forSizeField. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SizeField>_DESERIALIZERJson deserializer forSizeField -
Method Summary
Modifier and Type Method Description booleanenabled()Required - API name:enabledstatic SizeFieldof(java.util.function.Function<SizeField.Builder,ObjectBuilder<SizeField>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSizeFieldDeserializer(ObjectDeserializer<SizeField.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSizeField
-
-
Method Details
-
of
public static SizeField of(java.util.function.Function<SizeField.Builder,ObjectBuilder<SizeField>> fn) -
enabled
public final boolean enabled()Required - API name:enabled -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSizeFieldDeserializer
-