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 int
count()
Required - The total number of synonyms rules that the synonyms set contains.static GetSynonymResponse
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
final 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetSynonymResponseDeserializer
protected static void setupGetSynonymResponseDeserializer(ObjectDeserializer<GetSynonymResponse.Builder> op)
-