org.openmetadata.client.api.MessagingServicesApi 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.CreateMessagingService;
import org.openmetadata.client.model.DatabaseService;
import org.openmetadata.client.model.EntityHistory;
import org.openmetadata.client.model.MessagingService;
import org.openmetadata.client.model.MessagingServiceList;
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-07-03T19:44:33.436780642Z[Etc/UTC]")
public interface MessagingServicesApi 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/messagingServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
DatabaseService addTestConnectionResult2(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Add test connection result
* Similar to addTestConnectionResult2
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/messagingServices/{id}/testConnectionResult")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse addTestConnectionResult2WithHttpInfo(@Param("id") UUID id, TestConnectionResult testConnectionResult);
/**
* Create a messaging service
* Create a new messaging service.
* @param createMessagingService (optional)
* @return MessagingService
*/
@RequestLine("POST /v1/services/messagingServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MessagingService createMessagingService(CreateMessagingService createMessagingService);
/**
* Create a messaging service
* Similar to createMessagingService
but it also returns the http response headers .
* Create a new messaging service.
* @param createMessagingService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("POST /v1/services/messagingServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createMessagingServiceWithHttpInfo(CreateMessagingService createMessagingService);
/**
* Update messaging service
* Create a new messaging service or Update an existing messaging service identified by `id`.
* @param createMessagingService (optional)
* @return MessagingService
*/
@RequestLine("PUT /v1/services/messagingServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MessagingService createOrUpdateMessagingService(CreateMessagingService createMessagingService);
/**
* Update messaging service
* Similar to createOrUpdateMessagingService
but it also returns the http response headers .
* Create a new messaging service or Update an existing messaging service identified by `id`.
* @param createMessagingService (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/messagingServices")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse createOrUpdateMessagingServiceWithHttpInfo(CreateMessagingService createMessagingService);
/**
* Delete a messaging service by Id
* Delete a messaging service. If topics belong the service, it can't be deleted.
* @param id Id of the messaging 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/messagingServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMessagingService(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete a messaging service by Id
* Similar to deleteMessagingService
but it also returns the http response headers .
* Delete a messaging service. If topics belong the service, it can't be deleted.
* @param id Id of the messaging 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/messagingServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMessagingServiceWithHttpInfo(@Param("id") UUID id, @Param("recursive") Boolean recursive, @Param("hardDelete") Boolean hardDelete);
/**
* Delete a messaging service by Id
* Delete a messaging service. If topics belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMessagingService
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 DeleteMessagingServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the messaging 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/messagingServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
void deleteMessagingService(@Param("id") UUID id, @QueryMap(encoded=true) DeleteMessagingServiceQueryParams queryParams);
/**
* Delete a messaging service by Id
* Delete a messaging service. If topics belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMessagingService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the messaging 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/messagingServices/{id}?recursive={recursive}&hardDelete={hardDelete}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMessagingServiceWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) DeleteMessagingServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMessagingService
method in a fluent style.
*/
public static class DeleteMessagingServiceQueryParams extends HashMap {
public DeleteMessagingServiceQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
public DeleteMessagingServiceQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
}
/**
* Delete a messaging service by name
* Delete a messaging service by `name`. If topics belong the service, it can't be deleted.
* @param name Name of the messaging 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/messagingServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
void deleteMessagingServiceByName(@Param("name") String name, @Param("hardDelete") Boolean hardDelete, @Param("recursive") Boolean recursive);
/**
* Delete a messaging service by name
* Similar to deleteMessagingServiceByName
but it also returns the http response headers .
* Delete a messaging service by `name`. If topics belong the service, it can't be deleted.
* @param name Name of the messaging 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/messagingServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMessagingServiceByNameWithHttpInfo(@Param("name") String name, @Param("hardDelete") Boolean hardDelete, @Param("recursive") Boolean recursive);
/**
* Delete a messaging service by name
* Delete a messaging service by `name`. If topics belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMessagingServiceByName
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 DeleteMessagingServiceByNameQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the messaging 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/messagingServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
void deleteMessagingServiceByName(@Param("name") String name, @QueryMap(encoded=true) DeleteMessagingServiceByNameQueryParams queryParams);
/**
* Delete a messaging service by name
* Delete a messaging service by `name`. If topics belong the service, it can't be deleted.
* Note, this is equivalent to the other deleteMessagingServiceByName
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the messaging 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/messagingServices/name/{name}?hardDelete={hardDelete}&recursive={recursive}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteMessagingServiceByNameWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) DeleteMessagingServiceByNameQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* deleteMessagingServiceByName
method in a fluent style.
*/
public static class DeleteMessagingServiceByNameQueryParams extends HashMap {
public DeleteMessagingServiceByNameQueryParams hardDelete(final Boolean value) {
put("hardDelete", EncodingUtils.encode(value));
return this;
}
public DeleteMessagingServiceByNameQueryParams recursive(final Boolean value) {
put("recursive", EncodingUtils.encode(value));
return this;
}
}
/**
* Get messaging service by name
* Get a messaging service by the service `name`.
* @param name Name of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingService getMessagingServiceByFQN(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get messaging service by name
* Similar to getMessagingServiceByFQN
but it also returns the http response headers .
* Get a messaging service by the service `name`.
* @param name Name of the messaging 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/messagingServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMessagingServiceByFQNWithHttpInfo(@Param("name") String name, @Param("fields") String fields, @Param("include") String include);
/**
* Get messaging service by name
* Get a messaging service by the service `name`.
* Note, this is equivalent to the other getMessagingServiceByFQN
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 GetMessagingServiceByFQNQueryParams} class that allows for
* building up this map in a fluent style.
* @param name Name of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingService getMessagingServiceByFQN(@Param("name") String name, @QueryMap(encoded=true) GetMessagingServiceByFQNQueryParams queryParams);
/**
* Get messaging service by name
* Get a messaging service by the service `name`.
* Note, this is equivalent to the other getMessagingServiceByFQN
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param name Name of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/name/{name}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMessagingServiceByFQNWithHttpInfo(@Param("name") String name, @QueryMap(encoded=true) GetMessagingServiceByFQNQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getMessagingServiceByFQN
method in a fluent style.
*/
public static class GetMessagingServiceByFQNQueryParams extends HashMap {
public GetMessagingServiceByFQNQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMessagingServiceByFQNQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a messaging service by Id
* Get a messaging service by `Id`.
* @param id Id of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingService getMessagingServiceByID(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get a messaging service by Id
* Similar to getMessagingServiceByID
but it also returns the http response headers .
* Get a messaging service by `Id`.
* @param id Id of the messaging 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/messagingServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMessagingServiceByIDWithHttpInfo(@Param("id") UUID id, @Param("fields") String fields, @Param("include") String include);
/**
* Get a messaging service by Id
* Get a messaging service by `Id`.
* Note, this is equivalent to the other getMessagingServiceByID
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 GetMessagingServiceByIDQueryParams} class that allows for
* building up this map in a fluent style.
* @param id Id of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingService getMessagingServiceByID(@Param("id") UUID id, @QueryMap(encoded=true) GetMessagingServiceByIDQueryParams queryParams);
/**
* Get a messaging service by Id
* Get a messaging service by `Id`.
* Note, this is equivalent to the other getMessagingServiceByID
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param id Id of the messaging 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 MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/{id}?fields={fields}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse getMessagingServiceByIDWithHttpInfo(@Param("id") UUID id, @QueryMap(encoded=true) GetMessagingServiceByIDQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* getMessagingServiceByID
method in a fluent style.
*/
public static class GetMessagingServiceByIDQueryParams extends HashMap {
public GetMessagingServiceByIDQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public GetMessagingServiceByIDQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Get a version of the messaging service
* Get a version of the messaging service by given `Id`
* @param id Id of the messaging service (required)
* @param version messaging service version number in the form `major`.`minor` (required)
* @return MessagingService
*/
@RequestLine("GET /v1/services/messagingServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
MessagingService getSpecificMessagingServiceVersion(@Param("id") UUID id, @Param("version") String version);
/**
* Get a version of the messaging service
* Similar to getSpecificMessagingServiceVersion
but it also returns the http response headers .
* Get a version of the messaging service by given `Id`
* @param id Id of the messaging service (required)
* @param version messaging 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/messagingServices/{id}/versions/{version}")
@Headers({
"Accept: application/json",
})
ApiResponse getSpecificMessagingServiceVersionWithHttpInfo(@Param("id") UUID id, @Param("version") String version);
/**
* List messaging service versions
* Get a list of all the versions of a messaging service identified by `id`
* @param id Id of the messaging service (required)
* @return EntityHistory
*/
@RequestLine("GET /v1/services/messagingServices/{id}/versions")
@Headers({
"Accept: application/json",
})
EntityHistory listAllMessagingServiceVersion(@Param("id") UUID id);
/**
* List messaging service versions
* Similar to listAllMessagingServiceVersion
but it also returns the http response headers .
* Get a list of all the versions of a messaging service identified by `id`
* @param id Id of the messaging service (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/services/messagingServices/{id}/versions")
@Headers({
"Accept: application/json",
})
ApiResponse listAllMessagingServiceVersionWithHttpInfo(@Param("id") UUID id);
/**
* List messaging services
* Get a list of messaging 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 domain Filter services by domain (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 MessagingServiceList
*/
@RequestLine("GET /v1/services/messagingServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingServiceList listMessagingService(@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 messaging services
* Similar to listMessagingService
but it also returns the http response headers .
* Get a list of messaging 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 domain Filter services by domain (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/messagingServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMessagingServiceWithHttpInfo(@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 messaging services
* Get a list of messaging 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 listMessagingService
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 ListMessagingServiceQueryParams} 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 - 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 MessagingServiceList
*/
@RequestLine("GET /v1/services/messagingServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
MessagingServiceList listMessagingService(@QueryMap(encoded=true) ListMessagingServiceQueryParams queryParams);
/**
* List messaging services
* Get a list of messaging 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 listMessagingService
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 - 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 MessagingServiceList
*/
@RequestLine("GET /v1/services/messagingServices?fields={fields}&domain={domain}&limit={limit}&before={before}&after={after}&include={include}")
@Headers({
"Accept: application/json",
})
ApiResponse listMessagingServiceWithHttpInfo(@QueryMap(encoded=true) ListMessagingServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* listMessagingService
method in a fluent style.
*/
public static class ListMessagingServiceQueryParams extends HashMap {
public ListMessagingServiceQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public ListMessagingServiceQueryParams domain(final String value) {
put("domain", EncodingUtils.encode(value));
return this;
}
public ListMessagingServiceQueryParams limit(final Integer value) {
put("limit", EncodingUtils.encode(value));
return this;
}
public ListMessagingServiceQueryParams before(final String value) {
put("before", EncodingUtils.encode(value));
return this;
}
public ListMessagingServiceQueryParams after(final String value) {
put("after", EncodingUtils.encode(value));
return this;
}
public ListMessagingServiceQueryParams include(final String value) {
put("include", EncodingUtils.encode(value));
return this;
}
}
/**
* Update a messaging service using name.
* Update an existing messaging service using JsonPatch.
* @param fqn Name of the messaging service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a messaging service using name. Documentation
*/
@RequestLine("PATCH /v1/services/messagingServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchMessagingService(@Param("fqn") String fqn, Object body);
/**
* Update a messaging service using name.
* Similar to patchMessagingService
but it also returns the http response headers .
* Update an existing messaging service using JsonPatch.
* @param fqn Name of the messaging service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a messaging service using name. Documentation
*/
@RequestLine("PATCH /v1/services/messagingServices/name/{fqn}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchMessagingServiceWithHttpInfo(@Param("fqn") String fqn, Object body);
/**
* Update a messaging service
* Update an existing messaging service using JsonPatch.
* @param id Id of the messaging service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a messaging service Documentation
*/
@RequestLine("PATCH /v1/services/messagingServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchMessagingService1(@Param("id") UUID id, Object body);
/**
* Update a messaging service
* Similar to patchMessagingService1
but it also returns the http response headers .
* Update an existing messaging service using JsonPatch.
* @param id Id of the messaging service (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a messaging service Documentation
*/
@RequestLine("PATCH /v1/services/messagingServices/{id}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchMessagingService1WithHttpInfo(@Param("id") UUID id, Object body);
/**
* Restore a soft deleted messaging service
* Restore a soft deleted messaging service.
* @param restoreEntity (optional)
* @return MessagingService
*/
@RequestLine("PUT /v1/services/messagingServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
MessagingService restore22(RestoreEntity restoreEntity);
/**
* Restore a soft deleted messaging service
* Similar to restore22
but it also returns the http response headers .
* Restore a soft deleted messaging service.
* @param restoreEntity (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("PUT /v1/services/messagingServices/restore")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse restore22WithHttpInfo(RestoreEntity restoreEntity);
}