org.openmetadata.client.api.MlModelServicesApi Maven / Gradle / Ivy
package org.openmetadata.client.api;
import org.openmetadata.client.ApiClient;
import org.openmetadata.client.EncodingUtils;
import org.openmetadata.client.model.ApiResponse;
import org.openmetadata.client.model.CreateMlModelService;
import org.openmetadata.client.model.DatabaseService;
import org.openmetadata.client.model.EntityHistory;
import org.openmetadata.client.model.MlModelService;
import org.openmetadata.client.model.MlModelServiceList;
import org.openmetadata.client.model.RestoreEntity;
import org.openmetadata.client.model.TestConnectionResult;
import java.util.UUID;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import feign.*;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-06T17:05:44.995298Z[Etc/UTC]")
public interface MlModelServicesApi extends ApiClient.Api {
/**
* Add test connection result
* Add test connection result to the service.
* @param id Id of the service (required)
* @param testConnectionResult (optional)
* @return DatabaseService
*/
@RequestLine("PUT /v1/services/mlmodelServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
DatabaseService addTestConnectionResult4(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Add test connection result
* Similar to addTestConnectionResult4
but it also returns the http response headers .
* Add test connection result to the service.
* @param id Id of the service (required)
* @param testConnectionResult (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/mlmodelServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse addTestConnectionResult4WithHttpInfo(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Create an ML model service
* Create a new mlModel service.
* @param createMlModelService (optional)
* @return MlModelService
*/
@RequestLine("POST /v1/services/mlmodelServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MlModelService createMlModelService(CreateMlModelService createMlModelService);
/**
* Create an ML model service
* Similar to createMlModelService
but it also returns the http response headers .
* Create a new mlModel service.
* @param createMlModelService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("POST /v1/services/mlmodelServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createMlModelServiceWithHttpInfo(CreateMlModelService createMlModelService);
/**
* Update ML model service
* Create a new mlModel service or update an existing mlModel service identified by `Id`.
* @param createMlModelService (optional)
* @return MlModelService
*/
@RequestLine("PUT /v1/services/mlmodelServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MlModelService createOrUpdateMlModelService(CreateMlModelService createMlModelService);
/**
* Update ML model service
* Similar to createOrUpdateMlModelService
but it also returns the http response headers .
* Create a new mlModel service or update an existing mlModel service identified by `Id`.
* @param createMlModelService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/mlmodelServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createOrUpdateMlModelServiceWithHttpInfo(CreateMlModelService createMlModelService);
/**
* Delete an ML model service by Id
* Delete a mlModel services. If mlModels (and tasks) belong to the service, it can't be deleted.
* @param id Id of the ML Model service (required)
* @param recursive Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/mlmodelServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMlModelService(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an ML model service by Id
* Similar to deleteMlModelService
but it also returns the http response headers .
* Delete a mlModel services. If mlModels (and tasks) belong to the service, it can't be deleted.
* @param id Id of the ML Model service (required)
* @param recursive Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/mlmodelServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMlModelServiceWithHttpInfo(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an ML model service by Id
* Delete a mlModel services. If mlModels (and tasks) belong to the service, it can't be deleted.
* Note, this is equivalent to the other deleteMlModelService
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link DeleteMlModelServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - recursive - Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
* - hardDelete - Hard delete the entity. (Default = `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/mlmodelServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMlModelService(@Param("id") UUID id, @QueryMap(encoded=true) Map queryParams);
/**
* Delete an ML model service by Id
* Delete a mlModel services. If mlModels (and tasks) belong to the service, it can't be deleted.
* Note, this is equivalent to the other deleteMlModelService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - recursive - Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
* - hardDelete - Hard delete the entity. (Default = `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/mlmodelServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMlModelServiceWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) Map queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMlModelService
method in a fluent style.
*/
public static class DeleteMlModelServiceQueryParams extends HashMap {
public DeleteMlModelServiceQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
public DeleteMlModelServiceQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Delete an ML model service by name
* Delete a mlModel services by `name`. If mlModels (and tasks) belong to the service, it can't be deleted.
* @param name Name of the ML Model service (required)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/mlmodelServices/name/{name}?hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMlModelServiceByName(@Param("name") String name, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an ML model service by name
* Similar to deleteMlModelServiceByName
but it also returns the http response headers .
* Delete a mlModel services by `name`. If mlModels (and tasks) belong to the service, it can't be deleted.
* @param name Name of the ML Model service (required)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/mlmodelServices/name/{name}?hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMlModelServiceByNameWithHttpInfo(@Param("name") String name, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an ML model service by name
* Delete a mlModel services by `name`. If mlModels (and tasks) belong to the service, it can't be deleted.
* Note, this is equivalent to the other deleteMlModelServiceByName
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link DeleteMlModelServiceByNameQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - hardDelete - Hard delete the entity. (Default = `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/mlmodelServices/name/{name}?hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMlModelServiceByName(@Param("name") String name, @QueryMap(encoded=true) Map queryParams);
/**
* Delete an ML model service by name
* Delete a mlModel services by `name`. If mlModels (and tasks) belong to the service, it can't be deleted.
* Note, this is equivalent to the other deleteMlModelServiceByName
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - hardDelete - Hard delete the entity. (Default = `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/mlmodelServices/name/{name}?hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMlModelServiceByNameWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) Map queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMlModelServiceByName
method in a fluent style.
*/
public static class DeleteMlModelServiceByNameQueryParams extends HashMap {
public DeleteMlModelServiceByNameQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Get an ML model service by name
* Get a mlModel service by the service `name`.
* @param name Name of the ML Model service (required)
* @param fields Fields requested in the returned resource (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelService getMlModelServiceByFQN(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get an ML model service by name
* Similar to getMlModelServiceByFQN
but it also returns the http response headers .
* Get a mlModel service by the service `name`.
* @param name Name of the ML Model service (required)
* @param fields Fields requested in the returned resource (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/mlmodelServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMlModelServiceByFQNWithHttpInfo(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get an ML model service by name
* Get a mlModel service by the service `name`.
* Note, this is equivalent to the other getMlModelServiceByFQN
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link GetMlModelServiceByFQNQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelService getMlModelServiceByFQN(@Param("name") String name, @QueryMap(encoded=true) Map queryParams);
/**
* Get an ML model service by name
* Get a mlModel service by the service `name`.
* Note, this is equivalent to the other getMlModelServiceByFQN
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMlModelServiceByFQNWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) Map queryParams);
/**
* A convenience class for generating query parameters for the
* getMlModelServiceByFQN
method in a fluent style.
*/
public static class GetMlModelServiceByFQNQueryParams extends HashMap {
public GetMlModelServiceByFQNQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMlModelServiceByFQNQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get an ML model service by Id
* Get a mlModel service by `Id`.
* @param id Id of the ML Model service (required)
* @param fields Fields requested in the returned resource (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelService getMlModelServiceByID(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get an ML model service by Id
* Similar to getMlModelServiceByID
but it also returns the http response headers .
* Get a mlModel service by `Id`.
* @param id Id of the ML Model service (required)
* @param fields Fields requested in the returned resource (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMlModelServiceByIDWithHttpInfo(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get an ML model service by Id
* Get a mlModel service by `Id`.
* Note, this is equivalent to the other getMlModelServiceByID
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link GetMlModelServiceByIDQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelService getMlModelServiceByID(@Param("id") UUID id, @QueryMap(encoded=true) Map queryParams);
/**
* Get an ML model service by Id
* Get a mlModel service by `Id`.
* Note, this is equivalent to the other getMlModelServiceByID
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the ML Model service (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMlModelServiceByIDWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) Map queryParams);
/**
* A convenience class for generating query parameters for the
* getMlModelServiceByID
method in a fluent style.
*/
public static class GetMlModelServiceByIDQueryParams extends HashMap {
public GetMlModelServiceByIDQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMlModelServiceByIDQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a version of the ML model service
* Get a version of the mlModel service by given `Id`
* @param id Id of the ML Model service (required)
* @param version mlModel service version number in the form `major`.`minor` (required)
* @return MlModelService
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
MlModelService getSpecificMlModelService(@Param("id") UUID id, @Param("version") String version);
/**
* Get a version of the ML model service
* Similar to getSpecificMlModelService
but it also returns the http response headers .
* Get a version of the mlModel service by given `Id`
* @param id Id of the ML Model service (required)
* @param version mlModel service version number in the form `major`.`minor` (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
ApiResponse getSpecificMlModelServiceWithHttpInfo(@Param("id") UUID id, @Param("version") String version);
/**
* List ML model service versions
* Get a list of all the versions of a mlModel service identified by `Id`
* @param id Id of the ML Model service (required)
* @return EntityHistory
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}/versions")
@Headers({
"Accept: application/json",
})
EntityHistory listAllMlModelServiceVersion(@Param("id") UUID id);
/**
* List ML model service versions
* Similar to listAllMlModelServiceVersion
but it also returns the http response headers .
* Get a list of all the versions of a mlModel service identified by `Id`
* @param id Id of the ML Model service (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/mlmodelServices/{id}/versions")
@Headers({
"Accept: application/json",
})
ApiResponse listAllMlModelServiceVersionWithHttpInfo(@Param("id") UUID id);
/**
* List ML model services
* Get a list of mlModel services. Use cursor-based pagination to limit the number entries in the list using `limit` and `before` or `after` query params.
* @param fields Fields requested in the returned resource (optional)
* @param limit Limit number services returned. (1 to 1000000, default 10) (optional, default to 10)
* @param before Returns list of services before this cursor (optional)
* @param after Returns list of services after this cursor (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return MlModelServiceList
*/
@RequestLine("GET /v1/services/mlmodelServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelServiceList listMlModelService(@Param("fields") String fields, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List ML model services
* Similar to listMlModelService
but it also returns the http response headers .
* Get a list of mlModel services. Use cursor-based pagination to limit the number entries in the list using `limit` and `before` or `after` query params.
* @param fields Fields requested in the returned resource (optional)
* @param limit Limit number services returned. (1 to 1000000, default 10) (optional, default to 10)
* @param before Returns list of services before this cursor (optional)
* @param after Returns list of services after this cursor (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/mlmodelServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMlModelServiceWithHttpInfo(@Param("fields") String fields, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List ML model services
* Get a list of mlModel services. Use cursor-based pagination to limit the number entries in the list using `limit` and `before` or `after` query params.
* Note, this is equivalent to the other listMlModelService
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link ListMlModelServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - limit - Limit number services returned. (1 to 1000000, default 10) (optional, default to 10)
* - before - Returns list of services before this cursor (optional)
* - after - Returns list of services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelServiceList
*/
@RequestLine("GET /v1/services/mlmodelServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MlModelServiceList listMlModelService(@QueryMap(encoded=true) Map queryParams);
/**
* List ML model services
* Get a list of mlModel services. Use cursor-based pagination to limit the number entries in the list using `limit` and `before` or `after` query params.
* Note, this is equivalent to the other listMlModelService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - limit - Limit number services returned. (1 to 1000000, default 10) (optional, default to 10)
* - before - Returns list of services before this cursor (optional)
* - after - Returns list of services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MlModelServiceList
*/
@RequestLine("GET /v1/services/mlmodelServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMlModelServiceWithHttpInfo(@QueryMap(encoded=true) Map queryParams);
/**
* A convenience class for generating query parameters for the
* listMlModelService
method in a fluent style.
*/
public static class ListMlModelServiceQueryParams extends HashMap {
public ListMlModelServiceQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public ListMlModelServiceQueryParams limit(final Integer value) {
put("limit", EncodingUtils.encode(value));
return this;
}
public ListMlModelServiceQueryParams before(final String value) {
put("before", EncodingUtils.encode(value));
return this;
}
public ListMlModelServiceQueryParams after(final String value) {
put("after", EncodingUtils.encode(value));
return this;
}
public ListMlModelServiceQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Update an ML model service
* Update an existing MlModelService service using JsonPatch.
* @param id Id of the ML Model service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an ML model service Documentation
*/
@RequestLine("PATCH /v1/services/mlmodelServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchMlModelService(@Param("id") UUID id, Object body);
/**
* Update an ML model service
* Similar to patchMlModelService
but it also returns the http response headers .
* Update an existing MlModelService service using JsonPatch.
* @param id Id of the ML Model service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an ML model service Documentation
*/
@RequestLine("PATCH /v1/services/mlmodelServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchMlModelServiceWithHttpInfo(@Param("id") UUID id, Object body);
/**
* Restore a soft deleted ML model service
* Restore a soft deleted Ml model service.
* @param restoreEntity (optional)
* @return MlModelService
*/
@RequestLine("PUT /v1/services/mlmodelServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MlModelService restore20(RestoreEntity restoreEntity);
/**
* Restore a soft deleted ML model service
* Similar to restore20
but it also returns the http response headers .
* Restore a soft deleted Ml model service.
* @param restoreEntity (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/mlmodelServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse restore20WithHttpInfo(RestoreEntity restoreEntity);
}