Class MessagingApiAsync

java.lang.Object
com.mypurecloud.sdk.v2.api.MessagingApiAsync

public class MessagingApiAsync extends Object
  • Constructor Details

    • MessagingApiAsync

      public MessagingApiAsync()
    • MessagingApiAsync

      public MessagingApiAsync(ApiClient apiClient)
  • Method Details

    • deleteMessagingSettingAsync

      public Future<Void> deleteMessagingSettingAsync(DeleteMessagingSettingRequest request, AsyncApiCallback<Void> callback)
      Deprecated.
      Delete a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteMessagingSettingAsync

      public Future<ApiResponse<Void>> deleteMessagingSettingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback)
      Deprecated.
      Delete a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteMessagingSettingsDefaultAsync

      public Future<Void> deleteMessagingSettingsDefaultAsync(DeleteMessagingSettingsDefaultRequest request, AsyncApiCallback<Void> callback)
      Deprecated.
      Delete the organization's default setting, a global default will be applied to integrations without settings When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteMessagingSettingsDefaultAsync

      public Future<ApiResponse<Void>> deleteMessagingSettingsDefaultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback)
      Deprecated.
      Delete the organization's default setting, a global default will be applied to integrations without settings When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteMessagingSupportedcontentSupportedContentIdAsync

      public Future<Void> deleteMessagingSupportedcontentSupportedContentIdAsync(DeleteMessagingSupportedcontentSupportedContentIdRequest request, AsyncApiCallback<Void> callback)
      Deprecated.
      Delete a supported content profile Deprecated - use DELETE /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • deleteMessagingSupportedcontentSupportedContentIdAsync

      public Future<ApiResponse<Void>> deleteMessagingSupportedcontentSupportedContentIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback)
      Deprecated.
      Delete a supported content profile Deprecated - use DELETE /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingAsync

      public Future<MessagingSetting> getMessagingSettingAsync(GetMessagingSettingRequest request, AsyncApiCallback<MessagingSetting> callback)
      Deprecated.
      Get a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingAsync

      public Future<ApiResponse<MessagingSetting>> getMessagingSettingAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MessagingSetting>> callback)
      Deprecated.
      Get a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingsAsync

      public Future<MessagingConfigListing> getMessagingSettingsAsync(GetMessagingSettingsRequest request, AsyncApiCallback<MessagingConfigListing> callback)
      Deprecated.
      Get a list of messaging settings
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingsAsync

      public Future<ApiResponse<MessagingConfigListing>> getMessagingSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MessagingConfigListing>> callback)
      Deprecated.
      Get a list of messaging settings
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingsDefaultAsync

      public Future<MessagingSetting> getMessagingSettingsDefaultAsync(GetMessagingSettingsDefaultRequest request, AsyncApiCallback<MessagingSetting> callback)
      Deprecated.
      Get the organization's default settings that will be used as the default when creating an integration. When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSettingsDefaultAsync

      public Future<ApiResponse<MessagingSetting>> getMessagingSettingsDefaultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MessagingSetting>> callback)
      Deprecated.
      Get the organization's default settings that will be used as the default when creating an integration. When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSupportedcontentAsync

      public Future<SupportedContentListing> getMessagingSupportedcontentAsync(GetMessagingSupportedcontentRequest request, AsyncApiCallback<SupportedContentListing> callback)
      Deprecated.
      Get a list of Supported Content profiles Deprecated - use GET /api/v2/conversations/messaging/supportedcontent as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSupportedcontentAsync

      public Future<ApiResponse<SupportedContentListing>> getMessagingSupportedcontentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<SupportedContentListing>> callback)
      Deprecated.
      Get a list of Supported Content profiles Deprecated - use GET /api/v2/conversations/messaging/supportedcontent as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSupportedcontentSupportedContentIdAsync

      public Future<SupportedContent> getMessagingSupportedcontentSupportedContentIdAsync(GetMessagingSupportedcontentSupportedContentIdRequest request, AsyncApiCallback<SupportedContent> callback)
      Deprecated.
      Get a supported content profile Deprecated - use GET /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getMessagingSupportedcontentSupportedContentIdAsync

      public Future<ApiResponse<SupportedContent>> getMessagingSupportedcontentSupportedContentIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<SupportedContent>> callback)
      Deprecated.
      Get a supported content profile Deprecated - use GET /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • patchMessagingSettingAsync

      public Future<MessagingSetting> patchMessagingSettingAsync(PatchMessagingSettingRequest request, AsyncApiCallback<MessagingSetting> callback)
      Deprecated.
      Update a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • patchMessagingSettingAsync

      Deprecated.
      Update a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • patchMessagingSupportedcontentSupportedContentIdAsync

      public Future<SupportedContent> patchMessagingSupportedcontentSupportedContentIdAsync(PatchMessagingSupportedcontentSupportedContentIdRequest request, AsyncApiCallback<SupportedContent> callback)
      Deprecated.
      Update a supported content profile Deprecated - use PATCH /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • patchMessagingSupportedcontentSupportedContentIdAsync

      public Future<ApiResponse<SupportedContent>> patchMessagingSupportedcontentSupportedContentIdAsync(ApiRequest<SupportedContent> request, AsyncApiCallback<ApiResponse<SupportedContent>> callback)
      Deprecated.
      Update a supported content profile Deprecated - use PATCH /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postMessagingSettingsAsync

      public Future<MessagingSetting> postMessagingSettingsAsync(PostMessagingSettingsRequest request, AsyncApiCallback<MessagingSetting> callback)
      Deprecated.
      Create a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postMessagingSettingsAsync

      Deprecated.
      Create a messaging setting
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postMessagingSupportedcontentAsync

      public Future<SupportedContent> postMessagingSupportedcontentAsync(PostMessagingSupportedcontentRequest request, AsyncApiCallback<SupportedContent> callback)
      Deprecated.
      Create a Supported Content profile Deprecated - use POST /api/v2/conversations/messaging/supportedcontent as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postMessagingSupportedcontentAsync

      public Future<ApiResponse<SupportedContent>> postMessagingSupportedcontentAsync(ApiRequest<SupportedContent> request, AsyncApiCallback<ApiResponse<SupportedContent>> callback)
      Deprecated.
      Create a Supported Content profile Deprecated - use POST /api/v2/conversations/messaging/supportedcontent as replacement
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • putMessagingSettingsDefaultAsync

      public Future<MessagingSetting> putMessagingSettingsDefaultAsync(PutMessagingSettingsDefaultRequest request, AsyncApiCallback<MessagingSetting> callback)
      Deprecated.
      Set the organization's default settings that may be applied to an integration when it is created. When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • putMessagingSettingsDefaultAsync

      Deprecated.
      Set the organization's default settings that may be applied to an integration when it is created. When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed