Class SuggestContext
java.lang.Object
org.opensearch.client.opensearch._types.mapping.SuggestContext
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SuggestContext.Builder,SuggestContext>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SuggestContext
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SuggestContext.Builder,SuggestContext>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SuggestContext> Json deserializer forSuggestContext -
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestContext.Builderbuilder()booleaninthashCode()final Stringname()Required - API name:namestatic SuggestContextfinal Stringpath()API name:pathfinal JsonDataAPI 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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - API name:typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSuggestContext
-
-
Method Details
-
of
-
name
Required - API name:name -
path
API name:path -
precision
API name:precision -
type
Required - API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SuggestContext.Builder,SuggestContext> - Returns:
- a new builder instance.
-
builder
-
setupSuggestContextDeserializer
protected static void setupSuggestContextDeserializer(ObjectDeserializer<SuggestContext.Builder> op) -
hashCode
public int hashCode() -
equals
-