Class EmailArchiveApi


  • public class EmailArchiveApi
    extends java.lang.Object
    EmailArchiveApi class.
    • Constructor Detail

      • EmailArchiveApi

        public EmailArchiveApi()
        EmailArchiveApi.
      • EmailArchiveApi

        public EmailArchiveApi​(ApiClient apiClient)
        EmailArchiveApi.
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
        getApiClient Method.
        Returns:
        ApiClient
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
        setApiClient Method.
      • createBCCEmailArchive

        public BccEmailArchive createBCCEmailArchive​(java.lang.String accountId,
                                                     BccEmailArchive bccEmailArchive)
                                              throws ApiException
        Creates a blind carbon copy email archive entry.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        bccEmailArchive - (optional)
        Returns:
        BccEmailArchive
        Throws:
        ApiException - if fails to make API call
      • deleteBCCEmailArchive

        public void deleteBCCEmailArchive​(java.lang.String accountId,
                                          java.lang.String bccEmailArchiveId)
                                   throws ApiException
        Delete a blind carbon copy email archive for an account..
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        bccEmailArchiveId - (required)
        Throws:
        ApiException - if fails to make API call
      • getBCCEmailArchiveHistoryList

        public BccEmailArchiveHistoryList getBCCEmailArchiveHistoryList​(java.lang.String accountId,
                                                                        java.lang.String bccEmailArchiveId)
                                                                 throws ApiException
        Get the blind carbon copy email archive history entries for the specified archive.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        bccEmailArchiveId - (required)
        Returns:
        BccEmailArchiveHistoryList
        Throws:
        ApiException
      • getBCCEmailArchiveHistoryList

        public BccEmailArchiveHistoryList getBCCEmailArchiveHistoryList​(java.lang.String accountId,
                                                                        java.lang.String bccEmailArchiveId,
                                                                        EmailArchiveApi.GetBCCEmailArchiveHistoryListOptions options)
                                                                 throws ApiException
        Get the blind carbon copy email archive history entries for the specified archive.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        bccEmailArchiveId - (required)
        options - for modifying the method behavior.
        Returns:
        BccEmailArchiveHistoryList
        Throws:
        ApiException - if fails to make API call
      • getBCCEmailArchiveList

        public BccEmailArchiveList getBCCEmailArchiveList​(java.lang.String accountId)
                                                   throws ApiException
        Get the blind carbon copy email archive entries owned by the specified account.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        Returns:
        BccEmailArchiveList
        Throws:
        ApiException
      • getBCCEmailArchiveList

        public BccEmailArchiveList getBCCEmailArchiveList​(java.lang.String accountId,
                                                          EmailArchiveApi.GetBCCEmailArchiveListOptions options)
                                                   throws ApiException
        Get the blind carbon copy email archive entries owned by the specified account.
        Parameters:
        accountId - The external account number (int) or account ID Guid. (required)
        options - for modifying the method behavior.
        Returns:
        BccEmailArchiveList
        Throws:
        ApiException - if fails to make API call