Package com.symphony.bdk.gen.api
Class MessageSuppressionApi
java.lang.Object
com.symphony.bdk.gen.api.MessageSuppressionApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-21T12:32:00.966422795Z[Etc/UTC]")
public class MessageSuppressionApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.symphony.bdk.http.api.ApiClient
Get the API cilentvoid
setApiClient
(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilentv1AdminMessagesuppressionIdSuppressPost
(String id, String sessionToken) Suppress a messagecom.symphony.bdk.http.api.ApiResponse<MessageSuppressionResponse>
v1AdminMessagesuppressionIdSuppressPostWithHttpInfo
(String id, String sessionToken) Suppress a message
-
Constructor Details
-
MessageSuppressionApi
public MessageSuppressionApi(com.symphony.bdk.http.api.ApiClient apiClient)
-
-
Method Details
-
getApiClient
public com.symphony.bdk.http.api.ApiClient getApiClient()Get the API cilent- Returns:
- API client
-
setApiClient
public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilent- Parameters:
apiClient
- an instance of API client
-
v1AdminMessagesuppressionIdSuppressPost
public MessageSuppressionResponse v1AdminMessagesuppressionIdSuppressPost(String id, String sessionToken) throws com.symphony.bdk.http.api.ApiException Suppress a message- Parameters:
id
- URL-Safe encoded Message ID (required)sessionToken
- Session authentication token. (required)- Returns:
- MessageSuppressionResponse
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-
v1AdminMessagesuppressionIdSuppressPostWithHttpInfo
public com.symphony.bdk.http.api.ApiResponse<MessageSuppressionResponse> v1AdminMessagesuppressionIdSuppressPostWithHttpInfo(String id, String sessionToken) throws com.symphony.bdk.http.api.ApiException Suppress a message- Parameters:
id
- URL-Safe encoded Message ID (required)sessionToken
- Session authentication token. (required)- Returns:
- ApiResponse<MessageSuppressionResponse>
- Throws:
com.symphony.bdk.http.api.ApiException
- if fails to make API call
-