Class GetSynonymResponse
java.lang.Object
co.elastic.clients.elasticsearch.synonyms.GetSynonymResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetSynonymResponse>Json deserializer forGetSynonymResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The total number of synonyms rules that the synonyms set contains.static GetSynonymResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal List<SynonymRuleRead>Required - Synonym rule details.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSynonymResponse
-
-
Method Details
-
of
public static GetSynonymResponse of(Function<GetSynonymResponse.Builder, ObjectBuilder<GetSynonymResponse>> fn) -
count
public final int count()Required - The total number of synonyms rules that the synonyms set contains.API name:
count -
synonymsSet
Required - Synonym rule details.API name:
synonyms_set -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSynonymResponseDeserializer
protected static void setupGetSynonymResponseDeserializer(ObjectDeserializer<GetSynonymResponse.Builder> op)
-