org.openmetadata.client.api.MetadataServicesApi 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.CreateMetadataService;
import org.openmetadata.client.model.DatabaseService;
import org.openmetadata.client.model.EntityHistory;
import org.openmetadata.client.model.MetadataService;
import org.openmetadata.client.model.MetadataServiceList;
import org.openmetadata.client.model.RestoreEntity;
import org.openmetadata.client.model.Table;
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-07-03T19:44:33.436780642Z[Etc/UTC]")
public interface MetadataServicesApi 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/metadataServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
DatabaseService addTestConnectionResult3(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Add test connection result
* Similar to addTestConnectionResult3
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/metadataServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse addTestConnectionResult3WithHttpInfo(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Create metadata service
* Create a new Metadata Service.
* @param createMetadataService (optional)
* @return MetadataService
*/
@RequestLine("POST /v1/services/metadataServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MetadataService createMetadataService(CreateMetadataService createMetadataService);
/**
* Create metadata service
* Similar to createMetadataService
but it also returns the http response headers .
* Create a new Metadata Service.
* @param createMetadataService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("POST /v1/services/metadataServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createMetadataServiceWithHttpInfo(CreateMetadataService createMetadataService);
/**
* Update metadata service
* Update an existing or create a new Metadata Service.
* @param createMetadataService (optional)
* @return MetadataService
*/
@RequestLine("PUT /v1/services/metadataServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MetadataService createOrUpdateMetadataService(CreateMetadataService createMetadataService);
/**
* Update metadata service
* Similar to createOrUpdateMetadataService
but it also returns the http response headers .
* Update an existing or create a new Metadata Service.
* @param createMetadataService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/metadataServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createOrUpdateMetadataServiceWithHttpInfo(CreateMetadataService createMetadataService);
/**
* Delete a metadata service by Id
* Delete a metadata services. If some service belong the service, it can't be deleted.
* @param id Id of the metadata 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/metadataServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMetadataService(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete a metadata service by Id
* Similar to deleteMetadataService
but it also returns the http response headers .
* Delete a metadata services. If some service belong the service, it can't be deleted.
* @param id Id of the metadata 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/metadataServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMetadataServiceWithHttpInfo(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete a metadata service by Id
* Delete a metadata services. If some service belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMetadataService
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 DeleteMetadataServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the metadata 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/metadataServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMetadataService(@Param("id") UUID id, @QueryMap(encoded=true) DeleteMetadataServiceQueryParams queryParams);
/**
* Delete a metadata service by Id
* Delete a metadata services. If some service belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMetadataService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the metadata 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/metadataServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMetadataServiceWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) DeleteMetadataServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMetadataService
method in a fluent style.
*/
public static class DeleteMetadataServiceQueryParams extends HashMap {
public DeleteMetadataServiceQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
public DeleteMetadataServiceQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Delete a metadata service by name
* Delete a metadata services by `name`. If some service belong the service, it can't be deleted.
* @param name Name of the metadata service (required)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
* @param recursive Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/metadataServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
void deleteMetadataServiceByName(@Param("name") String name, @Param("hardDelete") Boolean hardDelete, @Param("recursive") Boolean recursive);
/**
* Delete a metadata service by name
* Similar to deleteMetadataServiceByName
but it also returns the http response headers .
* Delete a metadata services by `name`. If some service belong the service, it can't be deleted.
* @param name Name of the metadata service (required)
* @param hardDelete Hard delete the entity. (Default = `false`) (optional, default to false)
* @param recursive Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
*/
@RequestLine("DELETE /v1/services/metadataServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMetadataServiceByNameWithHttpInfo(@Param("name") String name, @Param("hardDelete") Boolean hardDelete, @Param("recursive") Boolean recursive);
/**
* Delete a metadata service by name
* Delete a metadata services by `name`. If some service belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMetadataServiceByName
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 DeleteMetadataServiceByNameQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the metadata 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)
* - recursive - Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/metadataServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
void deleteMetadataServiceByName(@Param("name") String name, @QueryMap(encoded=true) DeleteMetadataServiceByNameQueryParams queryParams);
/**
* Delete a metadata service by name
* Delete a metadata services by `name`. If some service belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMetadataServiceByName
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the metadata 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)
* - recursive - Recursively delete this entity and it's children. (Default `false`) (optional, default to false)
*
*/
@RequestLine("DELETE /v1/services/metadataServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMetadataServiceByNameWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) DeleteMetadataServiceByNameQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMetadataServiceByName
method in a fluent style.
*/
public static class DeleteMetadataServiceByNameQueryParams extends HashMap {
public DeleteMetadataServiceByNameQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
public DeleteMetadataServiceByNameQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a metadata service by name
* Get a Metadata Service by the service `name`.
* @param name Name of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataService getMetadataServiceByFQN(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get a metadata service by name
* Similar to getMetadataServiceByFQN
but it also returns the http response headers .
* Get a Metadata Service by the service `name`.
* @param name Name of the metadata 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/metadataServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMetadataServiceByFQNWithHttpInfo(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get a metadata service by name
* Get a Metadata Service by the service `name`.
* Note, this is equivalent to the other getMetadataServiceByFQN
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 GetMetadataServiceByFQNQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataService getMetadataServiceByFQN(@Param("name") String name, @QueryMap(encoded=true) GetMetadataServiceByFQNQueryParams queryParams);
/**
* Get a metadata service by name
* Get a Metadata Service by the service `name`.
* Note, this is equivalent to the other getMetadataServiceByFQN
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMetadataServiceByFQNWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) GetMetadataServiceByFQNQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getMetadataServiceByFQN
method in a fluent style.
*/
public static class GetMetadataServiceByFQNQueryParams extends HashMap {
public GetMetadataServiceByFQNQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMetadataServiceByFQNQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a metadata service by Id
* Get a Metadata Service by `Id`.
* @param id Id of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataService getMetadataServiceByID(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get a metadata service by Id
* Similar to getMetadataServiceByID
but it also returns the http response headers .
* Get a Metadata Service by `Id`.
* @param id Id of the metadata 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/metadataServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMetadataServiceByIDWithHttpInfo(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get a metadata service by Id
* Get a Metadata Service by `Id`.
* Note, this is equivalent to the other getMetadataServiceByID
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 GetMetadataServiceByIDQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataService getMetadataServiceByID(@Param("id") UUID id, @QueryMap(encoded=true) GetMetadataServiceByIDQueryParams queryParams);
/**
* Get a metadata service by Id
* Get a Metadata Service by `Id`.
* Note, this is equivalent to the other getMetadataServiceByID
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the metadata 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 MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMetadataServiceByIDWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) GetMetadataServiceByIDQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getMetadataServiceByID
method in a fluent style.
*/
public static class GetMetadataServiceByIDQueryParams extends HashMap {
public GetMetadataServiceByIDQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMetadataServiceByIDQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a version of the metadata service
* Get a version of the Metadata Service by given `Id`
* @param id Id of the metadata service (required)
* @param version Metadata Service version number in the form `major`.`minor` (required)
* @return MetadataService
*/
@RequestLine("GET /v1/services/metadataServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
MetadataService getSpecificMetadataServiceVersion(@Param("id") UUID id, @Param("version") String version);
/**
* Get a version of the metadata service
* Similar to getSpecificMetadataServiceVersion
but it also returns the http response headers .
* Get a version of the Metadata Service by given `Id`
* @param id Id of the metadata service (required)
* @param version Metadata 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/metadataServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
ApiResponse getSpecificMetadataServiceVersionWithHttpInfo(@Param("id") UUID id, @Param("version") String version);
/**
* List metadata service versions
* Get a list of all the versions of a Metadata Service identified by `Id`
* @param id Id of the metadata service (required)
* @return EntityHistory
*/
@RequestLine("GET /v1/services/metadataServices/{id}/versions")
@Headers({
"Accept: application/json",
})
EntityHistory listAllMetadataServiceVersion(@Param("id") UUID id);
/**
* List metadata service versions
* Similar to listAllMetadataServiceVersion
but it also returns the http response headers .
* Get a list of all the versions of a Metadata Service identified by `Id`
* @param id Id of the metadata service (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/metadataServices/{id}/versions")
@Headers({
"Accept: application/json",
})
ApiResponse listAllMetadataServiceVersionWithHttpInfo(@Param("id") UUID id);
/**
* List metadata services
* Get a list of metadata services.
* @param fields Fields requested in the returned resource (optional)
* @param limit (optional, default to 10)
* @param before Returns list of metadata services before this cursor (optional)
* @param after Returns list of metadata services after this cursor (optional)
* @param include Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
* @return MetadataServiceList
*/
@RequestLine("GET /v1/services/metadataServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataServiceList listMetadataServices(@Param("fields") String fields, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List metadata services
* Similar to listMetadataServices
but it also returns the http response headers .
* Get a list of metadata services.
* @param fields Fields requested in the returned resource (optional)
* @param limit (optional, default to 10)
* @param before Returns list of metadata services before this cursor (optional)
* @param after Returns list of metadata 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/metadataServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMetadataServicesWithHttpInfo(@Param("fields") String fields, @Param("limit") Integer limit, @Param("before") String before, @Param("after") String after, @Param("include") String include);
/**
* List metadata services
* Get a list of metadata services.
* Note, this is equivalent to the other listMetadataServices
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 ListMetadataServicesQueryParams} 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 - (optional, default to 10)
* - before - Returns list of metadata services before this cursor (optional)
* - after - Returns list of metadata services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MetadataServiceList
*/
@RequestLine("GET /v1/services/metadataServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MetadataServiceList listMetadataServices(@QueryMap(encoded=true) ListMetadataServicesQueryParams queryParams);
/**
* List metadata services
* Get a list of metadata services.
* Note, this is equivalent to the other listMetadataServices
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 - (optional, default to 10)
* - before - Returns list of metadata services before this cursor (optional)
* - after - Returns list of metadata services after this cursor (optional)
* - include - Include all, deleted, or non-deleted entities. (optional, default to non-deleted)
*
* @return MetadataServiceList
*/
@RequestLine("GET /v1/services/metadataServices?fields={fields}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMetadataServicesWithHttpInfo(@QueryMap(encoded=true) ListMetadataServicesQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* listMetadataServices
method in a fluent style.
*/
public static class ListMetadataServicesQueryParams extends HashMap {
public ListMetadataServicesQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public ListMetadataServicesQueryParams limit(final Integer value) {
put("limit", EncodingUtils.encode(value));
return this;
}
public ListMetadataServicesQueryParams before(final String value) {
put("before", EncodingUtils.encode(value));
return this;
}
public ListMetadataServicesQueryParams after(final String value) {
put("after", EncodingUtils.encode(value));
return this;
}
public ListMetadataServicesQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Update a metadata service using name.
* Update an existing Metadata service using JsonPatch.
* @param fqn Name of the metadata service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a metadata service using name. Documentation
*/
@RequestLine("PATCH /v1/services/metadataServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchMetadataService(@Param("fqn") String fqn, Object body);
/**
* Update a metadata service using name.
* Similar to patchMetadataService
but it also returns the http response headers .
* Update an existing Metadata service using JsonPatch.
* @param fqn Name of the metadata service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a metadata service using name. Documentation
*/
@RequestLine("PATCH /v1/services/metadataServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchMetadataServiceWithHttpInfo(@Param("fqn") String fqn, Object body);
/**
* Update a metadata service
* Update an existing Metadata service using JsonPatch.
* @param id Id of the metadata service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a metadata service Documentation
*/
@RequestLine("PATCH /v1/services/metadataServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchMetadataService1(@Param("id") UUID id, Object body);
/**
* Update a metadata service
* Similar to patchMetadataService1
but it also returns the http response headers .
* Update an existing Metadata service using JsonPatch.
* @param id Id of the metadata service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a metadata service Documentation
*/
@RequestLine("PATCH /v1/services/metadataServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchMetadataService1WithHttpInfo(@Param("id") UUID id, Object body);
/**
* Restore a soft deleted metadata service.
* Restore a soft deleted metadata service.
* @param restoreEntity (optional)
* @return Table
*/
@RequestLine("PUT /v1/services/metadataServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
Table restore23(RestoreEntity restoreEntity);
/**
* Restore a soft deleted metadata service.
* Similar to restore23
but it also returns the http response headers .
* Restore a soft deleted metadata service.
* @param restoreEntity (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/metadataServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse restore23WithHttpInfo(RestoreEntity restoreEntity);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy