Class GetCategoriesResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetCategoriesResponse
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetCategoriesResponse>Json deserializer forGetCategoriesResponse
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forGetCategoriesResponse
 
- 
- 
Method Details- 
ofpublic static GetCategoriesResponse of(Function<GetCategoriesResponse.Builder, ObjectBuilder<GetCategoriesResponse>> fn) 
- 
categoriesRequired - API name:categories
- 
countpublic final long count()Required - API name:count
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupGetCategoriesResponseDeserializerprotected static void setupGetCategoriesResponseDeserializer(ObjectDeserializer<GetCategoriesResponse.Builder> op) 
 
-