public class SendersApi extends Object
| Constructor and Description |
|---|
SendersApi() |
SendersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateSenderModel |
createSender(CreateSender sender)
Create a new sender
|
com.squareup.okhttp.Call |
createSenderAsync(CreateSender sender,
ApiCallback<CreateSenderModel> callback)
Create a new sender (asynchronously)
|
com.squareup.okhttp.Call |
createSenderCall(CreateSender sender,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSender
|
ApiResponse<CreateSenderModel> |
createSenderWithHttpInfo(CreateSender sender)
Create a new sender
|
void |
deleteSender(Long senderId)
Delete a sender
|
com.squareup.okhttp.Call |
deleteSenderAsync(Long senderId,
ApiCallback<Void> callback)
Delete a sender (asynchronously)
|
com.squareup.okhttp.Call |
deleteSenderCall(Long senderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteSender
|
ApiResponse<Void> |
deleteSenderWithHttpInfo(Long senderId)
Delete a sender
|
ApiClient |
getApiClient() |
GetIps |
getIps()
Get all the dedicated IPs for your account
|
com.squareup.okhttp.Call |
getIpsAsync(ApiCallback<GetIps> callback)
Get all the dedicated IPs for your account (asynchronously)
|
com.squareup.okhttp.Call |
getIpsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getIps
|
GetIpsFromSender |
getIpsFromSender(Long senderId)
Get all the dedicated IPs for a sender
|
com.squareup.okhttp.Call |
getIpsFromSenderAsync(Long senderId,
ApiCallback<GetIpsFromSender> callback)
Get all the dedicated IPs for a sender (asynchronously)
|
com.squareup.okhttp.Call |
getIpsFromSenderCall(Long senderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getIpsFromSender
|
ApiResponse<GetIpsFromSender> |
getIpsFromSenderWithHttpInfo(Long senderId)
Get all the dedicated IPs for a sender
|
ApiResponse<GetIps> |
getIpsWithHttpInfo()
Get all the dedicated IPs for your account
|
GetSendersList |
getSenders(String ip,
String domain)
Get the list of all your senders
|
com.squareup.okhttp.Call |
getSendersAsync(String ip,
String domain,
ApiCallback<GetSendersList> callback)
Get the list of all your senders (asynchronously)
|
com.squareup.okhttp.Call |
getSendersCall(String ip,
String domain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSenders
|
ApiResponse<GetSendersList> |
getSendersWithHttpInfo(String ip,
String domain)
Get the list of all your senders
|
void |
setApiClient(ApiClient apiClient) |
void |
updateSender(Long senderId,
UpdateSender sender)
Update a sender
|
com.squareup.okhttp.Call |
updateSenderAsync(Long senderId,
UpdateSender sender,
ApiCallback<Void> callback)
Update a sender (asynchronously)
|
com.squareup.okhttp.Call |
updateSenderCall(Long senderId,
UpdateSender sender,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateSender
|
ApiResponse<Void> |
updateSenderWithHttpInfo(Long senderId,
UpdateSender sender)
Update a sender
|
public SendersApi()
public SendersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createSenderCall(CreateSender sender, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
sender - sender's name (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateSenderModel createSender(CreateSender sender) throws ApiException
sender - sender's name (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateSenderModel> createSenderWithHttpInfo(CreateSender sender) throws ApiException
sender - sender's name (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSenderAsync(CreateSender sender, ApiCallback<CreateSenderModel> callback) throws ApiException
sender - sender's name (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 objectpublic com.squareup.okhttp.Call deleteSenderCall(Long senderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
senderId - Id of the sender (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteSender(Long senderId) throws ApiException
senderId - Id of the sender (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteSenderWithHttpInfo(Long senderId) throws ApiException
senderId - Id of the sender (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteSenderAsync(Long senderId, ApiCallback<Void> callback) throws ApiException
senderId - Id of the sender (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 getIpsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetIps getIps() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetIps> getIpsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIpsAsync(ApiCallback<GetIps> callback) throws ApiException
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 getIpsFromSenderCall(Long senderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
senderId - Id of the sender (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetIpsFromSender getIpsFromSender(Long senderId) throws ApiException
senderId - Id of the sender (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetIpsFromSender> getIpsFromSenderWithHttpInfo(Long senderId) throws ApiException
senderId - Id of the sender (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIpsFromSenderAsync(Long senderId, ApiCallback<GetIpsFromSender> callback) throws ApiException
senderId - Id of the sender (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 getSendersCall(String ip, String domain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ip - Filter your senders for a specific ip (available for dedicated IP usage only) (optional)domain - Filter your senders for a specific domain (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetSendersList getSenders(String ip, String domain) throws ApiException
ip - Filter your senders for a specific ip (available for dedicated IP usage only) (optional)domain - Filter your senders for a specific domain (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetSendersList> getSendersWithHttpInfo(String ip, String domain) throws ApiException
ip - Filter your senders for a specific ip (available for dedicated IP usage only) (optional)domain - Filter your senders for a specific domain (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSendersAsync(String ip, String domain, ApiCallback<GetSendersList> callback) throws ApiException
ip - Filter your senders for a specific ip (available for dedicated IP usage only) (optional)domain - Filter your senders for a specific domain (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 objectpublic com.squareup.okhttp.Call updateSenderCall(Long senderId, UpdateSender sender, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
senderId - Id of the sender (required)sender - sender's name (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateSender(Long senderId, UpdateSender sender) throws ApiException
senderId - Id of the sender (required)sender - sender's name (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateSenderWithHttpInfo(Long senderId, UpdateSender sender) throws ApiException
senderId - Id of the sender (required)sender - sender's name (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateSenderAsync(Long senderId, UpdateSender sender, ApiCallback<Void> callback) throws ApiException
senderId - Id of the sender (required)sender - sender's name (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 © 2021. All rights reserved.