public class CampaignsApi extends Object
| Constructor and Description |
|---|
CampaignsApi() |
CampaignsApi(ApiClient apiClient) |
public CampaignsApi()
public CampaignsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call campaignsAbsplitGetCall(String search, Integer offset, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<SplitCampaign> campaignsAbsplitGet(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<SplitCampaign>> campaignsAbsplitGetWithHttpInfo(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAbsplitGetAsync(String search, Integer offset, Integer limit, ApiCallback<List<SplitCampaign>> callback) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAbsplitNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void campaignsAbsplitNameDelete(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> campaignsAbsplitNameDeleteWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAbsplitNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAbsplitNameGetCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SplitCampaign campaignsAbsplitNameGet(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SplitCampaign> campaignsAbsplitNameGetWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAbsplitNameGetAsync(String name, ApiCallback<SplitCampaign> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAbsplitNamePutCall(String name, SplitCampaign body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SplitCampaign campaignsAbsplitNamePut(String name, SplitCampaign body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SplitCampaign> campaignsAbsplitNamePutWithHttpInfo(String name, SplitCampaign body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAbsplitNamePutAsync(String name, SplitCampaign body, ApiCallback<SplitCampaign> callback) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAbsplitPostCall(SplitCampaign body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SplitCampaign campaignsAbsplitPost(SplitCampaign body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SplitCampaign> campaignsAbsplitPostWithHttpInfo(SplitCampaign body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAbsplitPostAsync(SplitCampaign body, ApiCallback<SplitCampaign> callback) throws ApiException
body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAllGetCall(String search, Integer offset, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<NameTypeCampaign> campaignsAllGet(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<NameTypeCampaign>> campaignsAllGetWithHttpInfo(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAllGetAsync(String search, Integer offset, Integer limit, ApiCallback<List<NameTypeCampaign>> callback) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAutomatedGetCall(String search, Integer offset, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Automated> campaignsAutomatedGet(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Automated>> campaignsAutomatedGetWithHttpInfo(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAutomatedGetAsync(String search, Integer offset, Integer limit, ApiCallback<List<Automated>> callback) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAutomatedNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void campaignsAutomatedNameDelete(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> campaignsAutomatedNameDeleteWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAutomatedNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAutomatedNameGetCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Automated campaignsAutomatedNameGet(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Automated> campaignsAutomatedNameGetWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAutomatedNameGetAsync(String name, ApiCallback<Automated> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAutomatedNamePutCall(String name, Automated body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Automated campaignsAutomatedNamePut(String name, Automated body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Automated> campaignsAutomatedNamePutWithHttpInfo(String name, Automated body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAutomatedNamePutAsync(String name, Automated body, ApiCallback<Automated> callback) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsAutomatedPostCall(Automated body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Automated campaignsAutomatedPost(Automated body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Automated> campaignsAutomatedPostWithHttpInfo(Automated body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsAutomatedPostAsync(Automated body, ApiCallback<Automated> callback) throws ApiException
body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsNameCancelPostCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Name of selected channel. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void campaignsNameCancelPost(String name) throws ApiException
name - Name of selected channel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> campaignsNameCancelPostWithHttpInfo(String name) throws ApiException
name - Name of selected channel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsNameCancelPostAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Name of selected channel. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsSendnowGetCall(String search, Integer offset, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Campaign> campaignsSendnowGet(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Campaign>> campaignsSendnowGetWithHttpInfo(String search, Integer offset, Integer limit) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsSendnowGetAsync(String search, Integer offset, Integer limit, ApiCallback<List<Campaign>> callback) throws ApiException
search - Text fragment used for searching. (optional)offset - How many items should be loaded ahead. (optional, default to 0)limit - Maximum of loaded items. (optional, default to 0)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsSendnowNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void campaignsSendnowNameDelete(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> campaignsSendnowNameDeleteWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsSendnowNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsSendnowNameGetCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Campaign campaignsSendnowNameGet(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Campaign> campaignsSendnowNameGetWithHttpInfo(String name) throws ApiException
name - Filename (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsSendnowNameGetAsync(String name, ApiCallback<Campaign> callback) throws ApiException
name - Filename (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsSendnowNamePutCall(String name, Campaign body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Campaign campaignsSendnowNamePut(String name, Campaign body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Campaign> campaignsSendnowNamePutWithHttpInfo(String name, Campaign body) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsSendnowNamePutAsync(String name, Campaign body, ApiCallback<Campaign> callback) throws ApiException
name - Filename (required)body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsSendnowPostCall(Campaign body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Json representation of a campaign (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Campaign campaignsSendnowPost(Campaign body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Campaign> campaignsSendnowPostWithHttpInfo(Campaign body) throws ApiException
body - Json representation of a campaign (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsSendnowPostAsync(Campaign body, ApiCallback<Campaign> callback) throws ApiException
body - Json representation of a campaign (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call campaignsTasksExportGetCall(List<String> campaignNames, String fileFormat, String compressionFormat, String fileName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaignNames - List of campaign names used for processing (required)fileFormat - Format of the exported file (optional, default to Csv)compressionFormat - FileResponse compression format. None or Zip. (optional, default to None)fileName - Name of your file. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ExportLink campaignsTasksExportGet(List<String> campaignNames, String fileFormat, String compressionFormat, String fileName) throws ApiException
campaignNames - List of campaign names used for processing (required)fileFormat - Format of the exported file (optional, default to Csv)compressionFormat - FileResponse compression format. None or Zip. (optional, default to None)fileName - Name of your file. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ExportLink> campaignsTasksExportGetWithHttpInfo(List<String> campaignNames, String fileFormat, String compressionFormat, String fileName) throws ApiException
campaignNames - List of campaign names used for processing (required)fileFormat - Format of the exported file (optional, default to Csv)compressionFormat - FileResponse compression format. None or Zip. (optional, default to None)fileName - Name of your file. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call campaignsTasksExportGetAsync(List<String> campaignNames, String fileFormat, String compressionFormat, String fileName, ApiCallback<ExportLink> callback) throws ApiException
campaignNames - List of campaign names used for processing (required)fileFormat - Format of the exported file (optional, default to Csv)compressionFormat - FileResponse compression format. None or Zip. (optional, default to None)fileName - Name of your file. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.