Class GetSynonymsSetsResponse
java.lang.Object
co.elastic.clients.elasticsearch.synonyms.GetSynonymsSetsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetSynonymsSetsResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetSynonymsSetsResponse>
Json deserializer forGetSynonymsSetsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
count()
Required - The total number of synonyms sets defined.static GetSynonymsSetsResponse
final List<SynonymsSetItem>
results()
Required - The identifier and total number of defined synonym rules for each synonyms set.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSynonymsSetsResponse
-
-
Method Details
-
of
public static GetSynonymsSetsResponse of(Function<GetSynonymsSetsResponse.Builder, ObjectBuilder<GetSynonymsSetsResponse>> fn) -
count
public final int count()Required - The total number of synonyms sets defined.API name:
count
-
results
Required - The identifier and total number of defined synonym rules for each synonyms set.API name:
results
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSynonymsSetsResponseDeserializer
protected static void setupGetSynonymsSetsResponseDeserializer(ObjectDeserializer<GetSynonymsSetsResponse.Builder> op)
-