Class PhraseSuggestCollateQuery
java.lang.Object
org.opensearch.client.opensearch.core.search.PhraseSuggestCollateQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PhraseSuggestCollateQuery.Builder,PhraseSuggestCollateQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PhraseSuggestCollateQuery
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PhraseSuggestCollateQuery.Builder,PhraseSuggestCollateQuery>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestCollateQuery> Json deserializer forPhraseSuggestCollateQuery -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final Stringid()API name:idstatic PhraseSuggestCollateQueryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op) final Stringsource()API name:sourceCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 forPhraseSuggestCollateQuery
-
-
Method Details
-
of
public static PhraseSuggestCollateQuery of(Function<PhraseSuggestCollateQuery.Builder, ObjectBuilder<PhraseSuggestCollateQuery>> fn) -
id
API name:id -
source
API name:source -
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<PhraseSuggestCollateQuery.Builder,PhraseSuggestCollateQuery> - Returns:
- a new builder instance.
-
builder
-
setupPhraseSuggestCollateQueryDeserializer
protected static void setupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op) -
hashCode
public int hashCode() -
equals
-