Class GetCategoriesResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetCategoriesResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetCategoriesResponse>Json deserializer forGetCategoriesResponse -
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:categoriesfinal longcount()Required - API name:countstatic GetCategoriesResponsevoidserialize(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 forGetCategoriesResponse
-
-
Method Details
-
of
public static GetCategoriesResponse of(Function<GetCategoriesResponse.Builder, ObjectBuilder<GetCategoriesResponse>> fn) -
categories
Required - API name:categories -
count
public final long count()Required - API name:count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetCategoriesResponseDeserializer
protected static void setupGetCategoriesResponseDeserializer(ObjectDeserializer<GetCategoriesResponse.Builder> op)
-