public class ChannelsApi extends Object
| Constructor and Description |
|---|
ChannelsApi() |
ChannelsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<Channel> |
channelsGet(Integer limit,
Integer offset)
List all of your channels
|
com.squareup.okhttp.Call |
channelsGetAsync(Integer limit,
Integer offset,
ApiCallback<List<Channel>> callback)
List all of your channels (asynchronously)
|
com.squareup.okhttp.Call |
channelsGetCall(Integer limit,
Integer offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsGet
|
ApiResponse<List<Channel>> |
channelsGetWithHttpInfo(Integer limit,
Integer offset)
List all of your channels
|
void |
channelsNameCancelPost(String name)
Cancel the emails being sent with this channel
|
com.squareup.okhttp.Call |
channelsNameCancelPostAsync(String name,
ApiCallback<Void> callback)
Cancel the emails being sent with this channel (asynchronously)
|
com.squareup.okhttp.Call |
channelsNameCancelPostCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsNameCancelPost
|
ApiResponse<Void> |
channelsNameCancelPostWithHttpInfo(String name)
Cancel the emails being sent with this channel
|
void |
channelsNameDelete(String name)
Delete the channel.
|
com.squareup.okhttp.Call |
channelsNameDeleteAsync(String name,
ApiCallback<Void> callback)
Delete the channel.
|
com.squareup.okhttp.Call |
channelsNameDeleteCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsNameDelete
|
ApiResponse<Void> |
channelsNameDeleteWithHttpInfo(String name)
Delete the channel.
|
Channel |
channelsNameGet(String name)
Retrieve an existing channel.
|
com.squareup.okhttp.Call |
channelsNameGetAsync(String name,
ApiCallback<Channel> callback)
Retrieve an existing channel.
|
com.squareup.okhttp.Call |
channelsNameGetCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsNameGet
|
ApiResponse<Channel> |
channelsNameGetWithHttpInfo(String name)
Retrieve an existing channel.
|
Channel |
channelsNamePut(String name,
String body)
Rename an existing channel.
|
com.squareup.okhttp.Call |
channelsNamePutAsync(String name,
String body,
ApiCallback<Channel> callback)
Rename an existing channel.
|
com.squareup.okhttp.Call |
channelsNamePutCall(String name,
String body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsNamePut
|
ApiResponse<Channel> |
channelsNamePutWithHttpInfo(String name,
String body)
Rename an existing channel.
|
Channel |
channelsPost(String body)
Manually add a channel to your account to group email
|
com.squareup.okhttp.Call |
channelsPostAsync(String body,
ApiCallback<Channel> callback)
Manually add a channel to your account to group email (asynchronously)
|
com.squareup.okhttp.Call |
channelsPostCall(String body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsPost
|
ApiResponse<Channel> |
channelsPostWithHttpInfo(String body)
Manually add a channel to your account to group email
|
ExportLink |
channelsTasksExportGet(List<String> channelNames,
String fileFormat,
String compressionFormat,
String fileName)
Export selected channels to chosen file format.
|
com.squareup.okhttp.Call |
channelsTasksExportGetAsync(List<String> channelNames,
String fileFormat,
String compressionFormat,
String fileName,
ApiCallback<ExportLink> callback)
Export selected channels to chosen file format.
|
com.squareup.okhttp.Call |
channelsTasksExportGetCall(List<String> channelNames,
String fileFormat,
String compressionFormat,
String fileName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for channelsTasksExportGet
|
ApiResponse<ExportLink> |
channelsTasksExportGetWithHttpInfo(List<String> channelNames,
String fileFormat,
String compressionFormat,
String fileName)
Export selected channels to chosen file format.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ChannelsApi()
public ChannelsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call channelsGetCall(Integer limit, Integer offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<Channel> channelsGet(Integer limit, Integer offset) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Channel>> channelsGetWithHttpInfo(Integer limit, Integer offset) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (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 channelsGetAsync(Integer limit, Integer offset, ApiCallback<List<Channel>> callback) throws ApiException
limit - Maximum of loaded items. (optional, default to 0)offset - How many items should be loaded ahead. (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 channelsNameCancelPostCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - The name of the channel to cancel. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void channelsNameCancelPost(String name) throws ApiException
name - The name of the channel to cancel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> channelsNameCancelPostWithHttpInfo(String name) throws ApiException
name - The name of the channel to cancel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call channelsNameCancelPostAsync(String name, ApiCallback<Void> callback) throws ApiException
name - The name of the channel to cancel. (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 channelsNameDeleteCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - The name of the channel to delete. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void channelsNameDelete(String name) throws ApiException
name - The name of the channel to delete. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> channelsNameDeleteWithHttpInfo(String name) throws ApiException
name - The name of the channel to delete. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call channelsNameDeleteAsync(String name, ApiCallback<Void> callback) throws ApiException
name - The name of the channel to delete. (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 channelsNameGetCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - The name of the channel to get. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Channel channelsNameGet(String name) throws ApiException
name - The name of the channel to get. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Channel> channelsNameGetWithHttpInfo(String name) throws ApiException
name - The name of the channel to get. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call channelsNameGetAsync(String name, ApiCallback<Channel> callback) throws ApiException
name - The name of the channel to get. (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 channelsNamePutCall(String name, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - The name of the channel to update. (required)body - The new name for the channel. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Channel channelsNamePut(String name, String body) throws ApiException
name - The name of the channel to update. (required)body - The new name for the channel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Channel> channelsNamePutWithHttpInfo(String name, String body) throws ApiException
name - The name of the channel to update. (required)body - The new name for the channel. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call channelsNamePutAsync(String name, String body, ApiCallback<Channel> callback) throws ApiException
name - The name of the channel to update. (required)body - The new name for the 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 channelsPostCall(String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Descriptive name of the channel (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Channel channelsPost(String body) throws ApiException
body - Descriptive name of the channel (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Channel> channelsPostWithHttpInfo(String body) throws ApiException
body - Descriptive name of the channel (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call channelsPostAsync(String body, ApiCallback<Channel> callback) throws ApiException
body - Descriptive name of the 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 channelsTasksExportGetCall(List<String> channelNames, String fileFormat, String compressionFormat, String fileName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
channelNames - List of channel 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 channelsTasksExportGet(List<String> channelNames, String fileFormat, String compressionFormat, String fileName) throws ApiException
channelNames - List of channel 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> channelsTasksExportGetWithHttpInfo(List<String> channelNames, String fileFormat, String compressionFormat, String fileName) throws ApiException
channelNames - List of channel 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 channelsTasksExportGetAsync(List<String> channelNames, String fileFormat, String compressionFormat, String fileName, ApiCallback<ExportLink> callback) throws ApiException
channelNames - List of channel 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.