org.openmetadata.client.api.ApiServicesApi 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.APIService;
import org.openmetadata.client.model.APIServiceList;
import org.openmetadata.client.model.CreateAPIService;
import org.openmetadata.client.model.EntityHistory;
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 = "2024-08-22T14:05:58.429779152Z[Etc/UTC]")
public interface ApiServicesApi 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 APIService
*/
@RequestLine("PUT /v1/services/apiServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
APIService addTestConnectionResult(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Add test connection result
* Similar to addTestConnectionResult
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/apiServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse addTestConnectionResultWithHttpInfo(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Create API service
* Create a new API service.
* @param createAPIService (optional)
* @return APIService
*/
@RequestLine("POST /v1/services/apiServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
APIService createAPIService(CreateAPIService createAPIService);
/**
* Create API service
* Similar to createAPIService
but it also returns the http response headers .
* Create a new API service.
* @param createAPIService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("POST /v1/services/apiServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createAPIServiceWithHttpInfo(CreateAPIService createAPIService);
/**
* Update API service
* Update an existing or create a new API service.
* @param createAPIService (optional)
* @return APIService
*/
@RequestLine("PUT /v1/services/apiServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
APIService createOrUpdateAPIService(CreateAPIService createAPIService);
/**
* Update API service
* Similar to createOrUpdateAPIService
but it also returns the http response headers .
* Update an existing or create a new API service.
* @param createAPIService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/apiServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createOrUpdateAPIServiceWithHttpInfo(CreateAPIService createAPIService);
/**
* Delete an API service
* Delete an API services.
* @param id Id of the API 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/apiServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteAPIService(@Param("id") String id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an API service
* Similar to deleteAPIService
but it also returns the http response headers .
* Delete an API services.
* @param id Id of the API 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/apiServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteAPIServiceWithHttpInfo(@Param("id") String id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an API service
* Delete an API services.
* Note, this is equivalent to the other deleteAPIService
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 DeleteAPIServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the API 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/apiServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteAPIService(@Param("id") String id, @QueryMap(encoded=true) DeleteAPIServiceQueryParams queryParams);
/**
* Delete an API service
* Delete an API services.
* Note, this is equivalent to the other deleteAPIService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the API 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/apiServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteAPIServiceWithHttpInfo(@Param("id") String id, @QueryMap(encoded=true) DeleteAPIServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteAPIService
method in a fluent style.
*/
public static class DeleteAPIServiceQueryParams extends HashMap {
public DeleteAPIServiceQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
public DeleteAPIServiceQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Delete an APIService by fully qualified name
* Delete an APIService by `fullyQualifiedName`.
* @param fqn Name of the APIService (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/apiServices/name/{fqn}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteAPIServiceByFQN(@Param("fqn") String fqn, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an APIService by fully qualified name
* Similar to deleteAPIServiceByFQN
but it also returns the http response headers .
* Delete an APIService by `fullyQualifiedName`.
* @param fqn Name of the APIService (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/apiServices/name/{fqn}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteAPIServiceByFQNWithHttpInfo(@Param("fqn") String fqn, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete an APIService by fully qualified name
* Delete an APIService by `fullyQualifiedName`.
* Note, this is equivalent to the other deleteAPIServiceByFQN
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 DeleteAPIServiceByFQNQueryParams} class that allows for
* building up this map in a fluent style.
* @param fqn Name of the APIService (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/apiServices/name/{fqn}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteAPIServiceByFQN(@Param("fqn") String fqn, @QueryMap(encoded=true) DeleteAPIServiceByFQNQueryParams queryParams);
/**
* Delete an APIService by fully qualified name
* Delete an APIService by `fullyQualifiedName`.
* Note, this is equivalent to the other deleteAPIServiceByFQN
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param fqn Name of the APIService (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/apiServices/name/{fqn}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteAPIServiceByFQNWithHttpInfo(@Param("fqn") String fqn, @QueryMap(encoded=true) DeleteAPIServiceByFQNQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteAPIServiceByFQN
method in a fluent style.
*/
public static class DeleteAPIServiceByFQNQueryParams extends HashMap {
public DeleteAPIServiceByFQNQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
public DeleteAPIServiceByFQNQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Get API service by name
* Get a API service by the service `name`.
* @param name (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
APIService getAPIServiceByFQN(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get API service by name
* Similar to getAPIServiceByFQN
but it also returns the http response headers .
* Get a API service by the service `name`.
* @param name (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/apiServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getAPIServiceByFQNWithHttpInfo(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get API service by name
* Get a API service by the service `name`.
* Note, this is equivalent to the other getAPIServiceByFQN
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 GetAPIServiceByFQNQueryParams} class that allows for
* building up this map in a fluent style.
* @param name (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
APIService getAPIServiceByFQN(@Param("name") String name, @QueryMap(encoded=true) GetAPIServiceByFQNQueryParams queryParams);
/**
* Get API service by name
* Get a API service by the service `name`.
* Note, this is equivalent to the other getAPIServiceByFQN
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getAPIServiceByFQNWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) GetAPIServiceByFQNQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getAPIServiceByFQN
method in a fluent style.
*/
public static class GetAPIServiceByFQNQueryParams extends HashMap {
public GetAPIServiceByFQNQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetAPIServiceByFQNQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get an API service
* Get an API service by `id`.
* @param id (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
APIService getAPIServiceByID(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get an API service
* Similar to getAPIServiceByID
but it also returns the http response headers .
* Get an API service by `id`.
* @param id (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/apiServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getAPIServiceByIDWithHttpInfo(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get an API service
* Get an API service by `id`.
* Note, this is equivalent to the other getAPIServiceByID
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 GetAPIServiceByIDQueryParams} class that allows for
* building up this map in a fluent style.
* @param id (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
APIService getAPIServiceByID(@Param("id") UUID id, @QueryMap(encoded=true) GetAPIServiceByIDQueryParams queryParams);
/**
* Get an API service
* Get an API service by `id`.
* Note, this is equivalent to the other getAPIServiceByID
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id (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 APIService
*/
@RequestLine("GET /v1/services/apiServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getAPIServiceByIDWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) GetAPIServiceByIDQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getAPIServiceByID
method in a fluent style.
*/
public static class GetAPIServiceByIDQueryParams extends HashMap {
public GetAPIServiceByIDQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetAPIServiceByIDQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a version of the API service
* Get a version of the API service by given `id`
* @param id API service Id (required)
* @param version API service version number in the form `major`.`minor` (required)
* @return APIService
*/
@RequestLine("GET /v1/services/apiServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
APIService getSpecificAPIServiceVersion(@Param("id") String id, @Param("version") String version);
/**
* Get a version of the API service
* Similar to getSpecificAPIServiceVersion
but it also returns the http response headers .
* Get a version of the API service by given `id`
* @param id API service Id (required)
* @param version API 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/apiServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
ApiResponse getSpecificAPIServiceVersionWithHttpInfo(@Param("id") String id, @Param("version") String version);
/**
* List API services
* Get a list of API services.
* @param fields Fields requested in the returned resource (optional)
* @param domain Filter services by domain (optional)
* @param limit (optional, default to 10)
* @param before Returns list of API services before this cursor (optional)
* @param after Returns list of API services after this cursor (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return APIServiceList
*/
@RequestLine("GET /v1/services/apiServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
APIServiceList listAPIServices(@Param("fields") String fields, @Param("domain") String domain, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List API services
* Similar to listAPIServices
but it also returns the http response headers .
* Get a list of API services.
* @param fields Fields requested in the returned resource (optional)
* @param domain Filter services by domain (optional)
* @param limit (optional, default to 10)
* @param before Returns list of API services before this cursor (optional)
* @param after Returns list of API 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/apiServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listAPIServicesWithHttpInfo(@Param("fields") String fields, @Param("domain") String domain, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List API services
* Get a list of API services.
* Note, this is equivalent to the other listAPIServices
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 ListAPIServicesQueryParams} 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)
* - domain - Filter services by domain (optional)
* - limit - (optional, default to 10)
* - before - Returns list of API services before this cursor (optional)
* - after - Returns list of API services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return APIServiceList
*/
@RequestLine("GET /v1/services/apiServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
APIServiceList listAPIServices(@QueryMap(encoded=true) ListAPIServicesQueryParams queryParams);
/**
* List API services
* Get a list of API services.
* Note, this is equivalent to the other listAPIServices
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)
* - domain - Filter services by domain (optional)
* - limit - (optional, default to 10)
* - before - Returns list of API services before this cursor (optional)
* - after - Returns list of API services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return APIServiceList
*/
@RequestLine("GET /v1/services/apiServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listAPIServicesWithHttpInfo(@QueryMap(encoded=true) ListAPIServicesQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* listAPIServices
method in a fluent style.
*/
public static class ListAPIServicesQueryParams extends HashMap {
public ListAPIServicesQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public ListAPIServicesQueryParams domain(final String value) {
put("domain", EncodingUtils.encode(value));
return this;
}
public ListAPIServicesQueryParams limit(final Integer value) {
put("limit", EncodingUtils.encode(value));
return this;
}
public ListAPIServicesQueryParams before(final String value) {
put("before", EncodingUtils.encode(value));
return this;
}
public ListAPIServicesQueryParams after(final String value) {
put("after", EncodingUtils.encode(value));
return this;
}
public ListAPIServicesQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* List API service versions
* Get a list of all the versions of an API service identified by `id`
* @param id API service Id (required)
* @return EntityHistory
*/
@RequestLine("GET /v1/services/apiServices/{id}/versions")
@Headers({
"Accept: application/json",
})
EntityHistory listAllAPIServiceVersion(@Param("id") String id);
/**
* List API service versions
* Similar to listAllAPIServiceVersion
but it also returns the http response headers .
* Get a list of all the versions of an API service identified by `id`
* @param id API service Id (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/apiServices/{id}/versions")
@Headers({
"Accept: application/json",
})
ApiResponse listAllAPIServiceVersionWithHttpInfo(@Param("id") String id);
/**
* Update an API service using name.
* Update an existing API service using JsonPatch.
* @param fqn (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an API service using name. Documentation
*/
@RequestLine("PATCH /v1/services/apiServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchAPIService(@Param("fqn") String fqn, Object body);
/**
* Update an API service using name.
* Similar to patchAPIService
but it also returns the http response headers .
* Update an existing API service using JsonPatch.
* @param fqn (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an API service using name. Documentation
*/
@RequestLine("PATCH /v1/services/apiServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchAPIServiceWithHttpInfo(@Param("fqn") String fqn, Object body);
/**
* Update an API service
* Update an existing API service using JsonPatch.
* @param id (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an API service Documentation
*/
@RequestLine("PATCH /v1/services/apiServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchAPIService1(@Param("id") UUID id, Object body);
/**
* Update an API service
* Similar to patchAPIService1
but it also returns the http response headers .
* Update an existing API service using JsonPatch.
* @param id (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update an API service Documentation
*/
@RequestLine("PATCH /v1/services/apiServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchAPIService1WithHttpInfo(@Param("id") UUID id, Object body);
/**
* Restore a soft deleted API Service.
* Restore a soft deleted API Service.
* @param restoreEntity (optional)
* @return APIService
*/
@RequestLine("PUT /v1/services/apiServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
APIService restore22(RestoreEntity restoreEntity);
/**
* Restore a soft deleted API Service.
* Similar to restore22
but it also returns the http response headers .
* Restore a soft deleted API Service.
* @param restoreEntity (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/apiServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse restore22WithHttpInfo(RestoreEntity restoreEntity);
}