Class IndexField
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.IndexField
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexField extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexField.BuilderBuilder forIndexField.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexField>_DESERIALIZERJson deserializer forIndexField
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenabled()Required - API name:enabledstatic IndexFieldof(java.util.function.Function<IndexField.Builder,ObjectBuilder<IndexField>> 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 voidsetupIndexFieldDeserializer(ObjectDeserializer<IndexField.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexField> _DESERIALIZER
Json deserializer forIndexField
-
-
Method Detail
-
of
public static IndexField of(java.util.function.Function<IndexField.Builder,ObjectBuilder<IndexField>> fn)
-
enabled
public final boolean enabled()
Required - API name:enabled
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexFieldDeserializer
protected static void setupIndexFieldDeserializer(ObjectDeserializer<IndexField.Builder> op)
-
-