Class SuggestContext
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.SuggestContext
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SuggestContext extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSuggestContext.BuilderBuilder forSuggestContext.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SuggestContext>_DESERIALIZERJson deserializer forSuggestContext
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()Required - API name:namestatic SuggestContextof(java.util.function.Function<SuggestContext.Builder,ObjectBuilder<SuggestContext>> fn)java.lang.Stringpath()API name:pathjava.lang.Stringprecision()API name:precisionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSuggestContextDeserializer(ObjectDeserializer<SuggestContext.Builder> op)java.lang.Stringtype()Required - API name:type
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SuggestContext> _DESERIALIZER
Json deserializer forSuggestContext
-
-
Method Detail
-
of
public static SuggestContext of(java.util.function.Function<SuggestContext.Builder,ObjectBuilder<SuggestContext>> fn)
-
name
public final java.lang.String name()
Required - API name:name
-
path
@Nullable public final java.lang.String path()
API name:path
-
type
public final java.lang.String type()
Required - API name:type
-
precision
@Nullable public final java.lang.String precision()
API name:precision
-
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)
-
setupSuggestContextDeserializer
protected static void setupSuggestContextDeserializer(ObjectDeserializer<SuggestContext.Builder> op)
-
-