Class TextIndexPrefixes
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.TextIndexPrefixes
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TextIndexPrefixes extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextIndexPrefixes.BuilderBuilder forTextIndexPrefixes.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TextIndexPrefixes>_DESERIALIZERJson deserializer forTextIndexPrefixes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intmaxChars()Required - API name:max_charsintminChars()Required - API name:min_charsstatic TextIndexPrefixesof(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> 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 voidsetupTextIndexPrefixesDeserializer(ObjectDeserializer<TextIndexPrefixes.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<TextIndexPrefixes> _DESERIALIZER
Json deserializer forTextIndexPrefixes
-
-
Method Detail
-
of
public static TextIndexPrefixes of(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> fn)
-
maxChars
public final int maxChars()
Required - API name:max_chars
-
minChars
public final int minChars()
Required - API name:min_chars
-
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)
-
setupTextIndexPrefixesDeserializer
protected static void setupTextIndexPrefixesDeserializer(ObjectDeserializer<TextIndexPrefixes.Builder> op)
-
-