Class PhraseSuggestCollateQuery
- java.lang.Object
-
- org.opensearch.client.opensearch.core.search.PhraseSuggestCollateQuery
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PhraseSuggestCollateQuery extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhraseSuggestCollateQuery.BuilderBuilder forPhraseSuggestCollateQuery.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PhraseSuggestCollateQuery>_DESERIALIZERJson deserializer forPhraseSuggestCollateQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringid()API name:idstatic PhraseSuggestCollateQueryof(java.util.function.Function<PhraseSuggestCollateQuery.Builder,ObjectBuilder<PhraseSuggestCollateQuery>> 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 voidsetupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op)java.lang.Stringsource()API name:source
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<PhraseSuggestCollateQuery> _DESERIALIZER
Json deserializer forPhraseSuggestCollateQuery
-
-
Method Detail
-
of
public static PhraseSuggestCollateQuery of(java.util.function.Function<PhraseSuggestCollateQuery.Builder,ObjectBuilder<PhraseSuggestCollateQuery>> fn)
-
id
@Nullable public final java.lang.String id()
API name:id
-
source
@Nullable public final java.lang.String source()
API name:source
-
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)
-
setupPhraseSuggestCollateQueryDeserializer
protected static void setupPhraseSuggestCollateQueryDeserializer(ObjectDeserializer<PhraseSuggestCollateQuery.Builder> op)
-
-