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 intcount()Required - The total number of synonyms sets defined.static GetSynonymsSetsResponsefinal List<SynonymsSetItem>results()Required - The identifier and total number of defined synonym rules for each synonyms set.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSynonymsSetsResponseDeserializer
protected static void setupGetSynonymsSetsResponseDeserializer(ObjectDeserializer<GetSynonymsSetsResponse.Builder> op)
-