Class SynonymsSetItem
java.lang.Object
co.elastic.clients.elasticsearch.synonyms.get_synonyms_sets.SynonymsSetItem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<SynonymsSetItem>
Json deserializer forSynonymsSetItem
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
count()
Required - Number of synonym rules that the synonym set containsstatic SynonymsSetItem
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 String
Required - Synonyms set identifiertoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSynonymsSetItem
-
-
Method Details
-
of
public static SynonymsSetItem of(Function<SynonymsSetItem.Builder, ObjectBuilder<SynonymsSetItem>> fn) -
synonymsSet
Required - Synonyms set identifierAPI name:
synonyms_set
-
count
public final int count()Required - Number of synonym rules that the synonym set containsAPI name:
count
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSynonymsSetItemDeserializer
protected static void setupSynonymsSetItemDeserializer(ObjectDeserializer<SynonymsSetItem.Builder> op)
-