Class GetTrainedModelsStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetTrainedModelsStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetTrainedModelsStatsResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetTrainedModelsStatsResponse>Json deserializer forGetTrainedModelsStatsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The total number of trained model statistics that matched the requested ID patterns.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupGetTrainedModelsStatsResponseDeserializer(ObjectDeserializer<GetTrainedModelsStatsResponse.Builder> op) toString()final List<TrainedModelStats>Required - An array of trained model statistics, which are sorted by the model_id value in ascending order.
-
Field Details
-
_DESERIALIZER
Json deserializer forGetTrainedModelsStatsResponse
-
-
Method Details
-
of
-
count
public final int count()Required - The total number of trained model statistics that matched the requested ID patterns. Could be higher than the number of items in the trained_model_stats array as the size of the array is restricted by the supplied size parameter.API name:
count -
trainedModelStats
Required - An array of trained model statistics, which are sorted by the model_id value in ascending order.API name:
trained_model_stats -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetTrainedModelsStatsResponseDeserializer
protected static void setupGetTrainedModelsStatsResponseDeserializer(ObjectDeserializer<GetTrainedModelsStatsResponse.Builder> op)
-