Class GetTrainedModelsStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetTrainedModelsStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetTrainedModelsStatsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTrainedModelsStatsResponse.BuilderBuilder forGetTrainedModelsStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetTrainedModelsStatsResponse>_DESERIALIZERJson deserializer forGetTrainedModelsStatsResponse -
Constructor Summary
Constructors Constructor Description GetTrainedModelsStatsResponse(GetTrainedModelsStatsResponse.Builder builder)GetTrainedModelsStatsResponse(java.util.function.Function<GetTrainedModelsStatsResponse.Builder,GetTrainedModelsStatsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description 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(DelegatingDeserializer<GetTrainedModelsStatsResponse.Builder> op)java.util.List<TrainedModelStats>trainedModelStats()Required - An array of trained model statistics, which are sorted by the model_id value in ascending order.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetTrainedModelsStatsResponse
-
-
Constructor Details
-
GetTrainedModelsStatsResponse
-
GetTrainedModelsStatsResponse
public GetTrainedModelsStatsResponse(java.util.function.Function<GetTrainedModelsStatsResponse.Builder,GetTrainedModelsStatsResponse.Builder> fn)
-
-
Method Details
-
count
public 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
-
setupGetTrainedModelsStatsResponseDeserializer
protected static void setupGetTrainedModelsStatsResponseDeserializer(DelegatingDeserializer<GetTrainedModelsStatsResponse.Builder> op)
-