Class MessageSuppressionApi

java.lang.Object
com.symphony.bdk.gen.api.MessageSuppressionApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:56.804588655Z[Etc/UTC]") public class MessageSuppressionApi extends Object
  • 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