@@ -1162,21 +1162,21 @@ public CompletableFuture<List<ModelInstance>> getModelInstancesAsync() throws Al
1162
1162
* @param modelID The ID of the model to retrieve. (required)
1163
1163
* @param requestOptions The requestOptions to send along with the query, they will be merged with
1164
1164
* the transporter requestOptions.
1165
- * @return List<ModelMetrics>
1165
+ * @return GetModelMetricsResponse
1166
1166
* @throws AlgoliaRuntimeException If it fails to process the API call
1167
1167
*/
1168
- public List < ModelMetrics > getModelMetrics (String modelID , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
1168
+ public GetModelMetricsResponse getModelMetrics (String modelID , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
1169
1169
return LaunderThrowable .await (getModelMetricsAsync (modelID , requestOptions ));
1170
1170
}
1171
1171
1172
1172
/**
1173
1173
* Get the model instance’ training metrics.
1174
1174
*
1175
1175
* @param modelID The ID of the model to retrieve. (required)
1176
- * @return List<ModelMetrics>
1176
+ * @return GetModelMetricsResponse
1177
1177
* @throws AlgoliaRuntimeException If it fails to process the API call
1178
1178
*/
1179
- public List < ModelMetrics > getModelMetrics (String modelID ) throws AlgoliaRuntimeException {
1179
+ public GetModelMetricsResponse getModelMetrics (String modelID ) throws AlgoliaRuntimeException {
1180
1180
return this .getModelMetrics (modelID , null );
1181
1181
}
1182
1182
@@ -1186,10 +1186,10 @@ public List<ModelMetrics> getModelMetrics(String modelID) throws AlgoliaRuntimeE
1186
1186
* @param modelID The ID of the model to retrieve. (required)
1187
1187
* @param requestOptions The requestOptions to send along with the query, they will be merged with
1188
1188
* the transporter requestOptions.
1189
- * @return CompletableFuture<List<ModelMetrics> > The awaitable future
1189
+ * @return CompletableFuture<GetModelMetricsResponse > The awaitable future
1190
1190
* @throws AlgoliaRuntimeException If it fails to process the API call
1191
1191
*/
1192
- public CompletableFuture <List < ModelMetrics > > getModelMetricsAsync (String modelID , RequestOptions requestOptions )
1192
+ public CompletableFuture <GetModelMetricsResponse > getModelMetricsAsync (String modelID , RequestOptions requestOptions )
1193
1193
throws AlgoliaRuntimeException {
1194
1194
if (modelID == null ) {
1195
1195
throw new AlgoliaRuntimeException ("Parameter `modelID` is required when calling `getModelMetrics`." );
@@ -1204,17 +1204,17 @@ public CompletableFuture<List<ModelMetrics>> getModelMetricsAsync(String modelID
1204
1204
Map <String , String > headers = new HashMap <String , String >();
1205
1205
1206
1206
Call call = this .buildCall (requestPath , "GET" , queryParameters , bodyObj , headers , requestOptions , false );
1207
- return this .executeAsync (call , new TypeReference <List < ModelMetrics > >() {});
1207
+ return this .executeAsync (call , new TypeReference <GetModelMetricsResponse >() {});
1208
1208
}
1209
1209
1210
1210
/**
1211
1211
* (asynchronously) Get the model instance’ training metrics.
1212
1212
*
1213
1213
* @param modelID The ID of the model to retrieve. (required)
1214
- * @return CompletableFuture<List<ModelMetrics> > The awaitable future
1214
+ * @return CompletableFuture<GetModelMetricsResponse > The awaitable future
1215
1215
* @throws AlgoliaRuntimeException If it fails to process the API call
1216
1216
*/
1217
- public CompletableFuture <List < ModelMetrics > > getModelMetricsAsync (String modelID ) throws AlgoliaRuntimeException {
1217
+ public CompletableFuture <GetModelMetricsResponse > getModelMetricsAsync (String modelID ) throws AlgoliaRuntimeException {
1218
1218
return this .getModelMetricsAsync (modelID , null );
1219
1219
}
1220
1220
0 commit comments