public class ResellerApi extends Object
| Constructor and Description |
|---|
ResellerApi() |
ResellerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
RemainingCreditModel |
addCredits(String childIdentifier,
AddCredits addCredits)
Add Email and/or SMS credits to a specific child account
|
com.squareup.okhttp.Call |
addCreditsAsync(String childIdentifier,
AddCredits addCredits,
ApiCallback<RemainingCreditModel> callback)
Add Email and/or SMS credits to a specific child account (asynchronously)
|
com.squareup.okhttp.Call |
addCreditsCall(String childIdentifier,
AddCredits addCredits,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addCredits
|
ApiResponse<RemainingCreditModel> |
addCreditsWithHttpInfo(String childIdentifier,
AddCredits addCredits)
Add Email and/or SMS credits to a specific child account
|
void |
associateIpToChild(String childIdentifier,
ManageIp ip)
Associate a dedicated IP to the child
|
com.squareup.okhttp.Call |
associateIpToChildAsync(String childIdentifier,
ManageIp ip,
ApiCallback<Void> callback)
Associate a dedicated IP to the child (asynchronously)
|
com.squareup.okhttp.Call |
associateIpToChildCall(String childIdentifier,
ManageIp ip,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for associateIpToChild
|
ApiResponse<Void> |
associateIpToChildWithHttpInfo(String childIdentifier,
ManageIp ip)
Associate a dedicated IP to the child
|
void |
createChildDomain(String childIdentifier,
AddChildDomain addChildDomain)
Create a domain for a child account
|
com.squareup.okhttp.Call |
createChildDomainAsync(String childIdentifier,
AddChildDomain addChildDomain,
ApiCallback<Void> callback)
Create a domain for a child account (asynchronously)
|
com.squareup.okhttp.Call |
createChildDomainCall(String childIdentifier,
AddChildDomain addChildDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createChildDomain
|
ApiResponse<Void> |
createChildDomainWithHttpInfo(String childIdentifier,
AddChildDomain addChildDomain)
Create a domain for a child account
|
CreateReseller |
createResellerChild(CreateChild resellerChild)
Creates a reseller child
|
com.squareup.okhttp.Call |
createResellerChildAsync(CreateChild resellerChild,
ApiCallback<CreateReseller> callback)
Creates a reseller child (asynchronously)
|
com.squareup.okhttp.Call |
createResellerChildCall(CreateChild resellerChild,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createResellerChild
|
ApiResponse<CreateReseller> |
createResellerChildWithHttpInfo(CreateChild resellerChild)
Creates a reseller child
|
void |
deleteChildDomain(String childIdentifier,
String domainName)
Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
com.squareup.okhttp.Call |
deleteChildDomainAsync(String childIdentifier,
String domainName,
ApiCallback<Void> callback)
Delete the sender domain of the reseller child based on the childIdentifier and domainName passed (asynchronously)
|
com.squareup.okhttp.Call |
deleteChildDomainCall(String childIdentifier,
String domainName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteChildDomain
|
ApiResponse<Void> |
deleteChildDomainWithHttpInfo(String childIdentifier,
String domainName)
Delete the sender domain of the reseller child based on the childIdentifier and domainName passed
|
void |
deleteResellerChild(String childIdentifier)
Delete a single reseller child based on the child identifier supplied
|
com.squareup.okhttp.Call |
deleteResellerChildAsync(String childIdentifier,
ApiCallback<Void> callback)
Delete a single reseller child based on the child identifier supplied (asynchronously)
|
com.squareup.okhttp.Call |
deleteResellerChildCall(String childIdentifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteResellerChild
|
ApiResponse<Void> |
deleteResellerChildWithHttpInfo(String childIdentifier)
Delete a single reseller child based on the child identifier supplied
|
void |
dissociateIpFromChild(String childIdentifier,
ManageIp ip)
Dissociate a dedicated IP to the child
|
com.squareup.okhttp.Call |
dissociateIpFromChildAsync(String childIdentifier,
ManageIp ip,
ApiCallback<Void> callback)
Dissociate a dedicated IP to the child (asynchronously)
|
com.squareup.okhttp.Call |
dissociateIpFromChildCall(String childIdentifier,
ManageIp ip,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for dissociateIpFromChild
|
ApiResponse<Void> |
dissociateIpFromChildWithHttpInfo(String childIdentifier,
ManageIp ip)
Dissociate a dedicated IP to the child
|
ApiClient |
getApiClient() |
GetChildAccountCreationStatus |
getChildAccountCreationStatus(String childIdentifier)
Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
com.squareup.okhttp.Call |
getChildAccountCreationStatusAsync(String childIdentifier,
ApiCallback<GetChildAccountCreationStatus> callback)
Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied (asynchronously)
|
com.squareup.okhttp.Call |
getChildAccountCreationStatusCall(String childIdentifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChildAccountCreationStatus
|
ApiResponse<GetChildAccountCreationStatus> |
getChildAccountCreationStatusWithHttpInfo(String childIdentifier)
Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the identifier supplied
|
GetChildDomains |
getChildDomains(String childIdentifier)
Get all sender domains for a specific child account
|
com.squareup.okhttp.Call |
getChildDomainsAsync(String childIdentifier,
ApiCallback<GetChildDomains> callback)
Get all sender domains for a specific child account (asynchronously)
|
com.squareup.okhttp.Call |
getChildDomainsCall(String childIdentifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChildDomains
|
ApiResponse<GetChildDomains> |
getChildDomainsWithHttpInfo(String childIdentifier)
Get all sender domains for a specific child account
|
GetChildInfo |
getChildInfo(String childIdentifier)
Get a child account's details
|
com.squareup.okhttp.Call |
getChildInfoAsync(String childIdentifier,
ApiCallback<GetChildInfo> callback)
Get a child account's details (asynchronously)
|
com.squareup.okhttp.Call |
getChildInfoCall(String childIdentifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChildInfo
|
ApiResponse<GetChildInfo> |
getChildInfoWithHttpInfo(String childIdentifier)
Get a child account's details
|
GetChildrenList |
getResellerChilds(Long limit,
Long offset)
Get the list of all children accounts
|
com.squareup.okhttp.Call |
getResellerChildsAsync(Long limit,
Long offset,
ApiCallback<GetChildrenList> callback)
Get the list of all children accounts (asynchronously)
|
com.squareup.okhttp.Call |
getResellerChildsCall(Long limit,
Long offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getResellerChilds
|
ApiResponse<GetChildrenList> |
getResellerChildsWithHttpInfo(Long limit,
Long offset)
Get the list of all children accounts
|
GetSsoToken |
getSsoToken(String childIdentifier)
Get session token to access Sendinblue (SSO)
It returns a session [token] which will remain valid for a short period of time.
|
com.squareup.okhttp.Call |
getSsoTokenAsync(String childIdentifier,
ApiCallback<GetSsoToken> callback)
Get session token to access Sendinblue (SSO) (asynchronously)
It returns a session [token] which will remain valid for a short period of time.
|
com.squareup.okhttp.Call |
getSsoTokenCall(String childIdentifier,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSsoToken
|
ApiResponse<GetSsoToken> |
getSsoTokenWithHttpInfo(String childIdentifier)
Get session token to access Sendinblue (SSO)
It returns a session [token] which will remain valid for a short period of time.
|
RemainingCreditModel |
removeCredits(String childIdentifier,
RemoveCredits removeCredits)
Remove Email and/or SMS credits from a specific child account
|
com.squareup.okhttp.Call |
removeCreditsAsync(String childIdentifier,
RemoveCredits removeCredits,
ApiCallback<RemainingCreditModel> callback)
Remove Email and/or SMS credits from a specific child account (asynchronously)
|
com.squareup.okhttp.Call |
removeCreditsCall(String childIdentifier,
RemoveCredits removeCredits,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeCredits
|
ApiResponse<RemainingCreditModel> |
removeCreditsWithHttpInfo(String childIdentifier,
RemoveCredits removeCredits)
Remove Email and/or SMS credits from a specific child account
|
void |
setApiClient(ApiClient apiClient) |
void |
updateChildAccountStatus(String childIdentifier,
UpdateChildAccountStatus updateChildAccountStatus)
Update info of reseller's child account status based on the childIdentifier supplied
|
com.squareup.okhttp.Call |
updateChildAccountStatusAsync(String childIdentifier,
UpdateChildAccountStatus updateChildAccountStatus,
ApiCallback<Void> callback)
Update info of reseller's child account status based on the childIdentifier supplied (asynchronously)
|
com.squareup.okhttp.Call |
updateChildAccountStatusCall(String childIdentifier,
UpdateChildAccountStatus updateChildAccountStatus,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateChildAccountStatus
|
ApiResponse<Void> |
updateChildAccountStatusWithHttpInfo(String childIdentifier,
UpdateChildAccountStatus updateChildAccountStatus)
Update info of reseller's child account status based on the childIdentifier supplied
|
void |
updateChildDomain(String childIdentifier,
String domainName,
UpdateChildDomain updateChildDomain)
Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
com.squareup.okhttp.Call |
updateChildDomainAsync(String childIdentifier,
String domainName,
UpdateChildDomain updateChildDomain,
ApiCallback<Void> callback)
Update the sender domain of reseller's child based on the childIdentifier and domainName passed (asynchronously)
|
com.squareup.okhttp.Call |
updateChildDomainCall(String childIdentifier,
String domainName,
UpdateChildDomain updateChildDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateChildDomain
|
ApiResponse<Void> |
updateChildDomainWithHttpInfo(String childIdentifier,
String domainName,
UpdateChildDomain updateChildDomain)
Update the sender domain of reseller's child based on the childIdentifier and domainName passed
|
void |
updateResellerChild(String childIdentifier,
UpdateChild resellerChild)
Update info of reseller's child based on the child identifier supplied
|
com.squareup.okhttp.Call |
updateResellerChildAsync(String childIdentifier,
UpdateChild resellerChild,
ApiCallback<Void> callback)
Update info of reseller's child based on the child identifier supplied (asynchronously)
|
com.squareup.okhttp.Call |
updateResellerChildCall(String childIdentifier,
UpdateChild resellerChild,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateResellerChild
|
ApiResponse<Void> |
updateResellerChildWithHttpInfo(String childIdentifier,
UpdateChild resellerChild)
Update info of reseller's child based on the child identifier supplied
|
public ResellerApi()
public ResellerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addCreditsCall(String childIdentifier, AddCredits addCredits, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addCredits - Values to post to add credit to a specific child account (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemainingCreditModel addCredits(String childIdentifier, AddCredits addCredits) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addCredits - Values to post to add credit to a specific child account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemainingCreditModel> addCreditsWithHttpInfo(String childIdentifier, AddCredits addCredits) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addCredits - Values to post to add credit to a specific child account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addCreditsAsync(String childIdentifier, AddCredits addCredits, ApiCallback<RemainingCreditModel> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addCredits - Values to post to add credit to a specific child account (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 associateIpToChildCall(String childIdentifier, ManageIp ip, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to associate (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void associateIpToChild(String childIdentifier, ManageIp ip) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to associate (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> associateIpToChildWithHttpInfo(String childIdentifier, ManageIp ip) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to associate (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call associateIpToChildAsync(String childIdentifier, ManageIp ip, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to associate (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 createChildDomainCall(String childIdentifier, AddChildDomain addChildDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addChildDomain - Sender domain to add for a specific child account. This will not be displayed to the parent account. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void createChildDomain(String childIdentifier, AddChildDomain addChildDomain) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addChildDomain - Sender domain to add for a specific child account. This will not be displayed to the parent account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createChildDomainWithHttpInfo(String childIdentifier, AddChildDomain addChildDomain) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addChildDomain - Sender domain to add for a specific child account. This will not be displayed to the parent account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createChildDomainAsync(String childIdentifier, AddChildDomain addChildDomain, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)addChildDomain - Sender domain to add for a specific child account. This will not be displayed to the parent account. (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 createResellerChildCall(CreateChild resellerChild, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
resellerChild - reseller child to add (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateReseller createResellerChild(CreateChild resellerChild) throws ApiException
resellerChild - reseller child to add (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateReseller> createResellerChildWithHttpInfo(CreateChild resellerChild) throws ApiException
resellerChild - reseller child to add (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createResellerChildAsync(CreateChild resellerChild, ApiCallback<CreateReseller> callback) throws ApiException
resellerChild - reseller child to add (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 deleteChildDomainCall(String childIdentifier, String domainName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be deleted (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteChildDomain(String childIdentifier, String domainName) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteChildDomainWithHttpInfo(String childIdentifier, String domainName) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteChildDomainAsync(String childIdentifier, String domainName, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be deleted (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 deleteResellerChildCall(String childIdentifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or child id of reseller's child (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteResellerChild(String childIdentifier) throws ApiException
childIdentifier - Either auth key or child id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteResellerChildWithHttpInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or child id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteResellerChildAsync(String childIdentifier, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or child id of reseller's child (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 dissociateIpFromChildCall(String childIdentifier, ManageIp ip, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to dissociate (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void dissociateIpFromChild(String childIdentifier, ManageIp ip) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to dissociate (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> dissociateIpFromChildWithHttpInfo(String childIdentifier, ManageIp ip) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to dissociate (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call dissociateIpFromChildAsync(String childIdentifier, ManageIp ip, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ip - IP to dissociate (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 getChildAccountCreationStatusCall(String childIdentifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetChildAccountCreationStatus getChildAccountCreationStatus(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetChildAccountCreationStatus> getChildAccountCreationStatusWithHttpInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getChildAccountCreationStatusAsync(String childIdentifier, ApiCallback<GetChildAccountCreationStatus> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (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 getChildDomainsCall(String childIdentifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetChildDomains getChildDomains(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetChildDomains> getChildDomainsWithHttpInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getChildDomainsAsync(String childIdentifier, ApiCallback<GetChildDomains> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (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 getChildInfoCall(String childIdentifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetChildInfo getChildInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetChildInfo> getChildInfoWithHttpInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getChildInfoAsync(String childIdentifier, ApiCallback<GetChildInfo> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (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 getResellerChildsCall(Long limit, Long offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents for child accounts information per page (optional, default to 10)offset - Index of the first document in the page (optional, default to 0)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetChildrenList getResellerChilds(Long limit, Long offset) throws ApiException
limit - Number of documents for child accounts information per page (optional, default to 10)offset - Index of the first document in the page (optional, default to 0)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetChildrenList> getResellerChildsWithHttpInfo(Long limit, Long offset) throws ApiException
limit - Number of documents for child accounts information per page (optional, default to 10)offset - Index of the first document in the page (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 getResellerChildsAsync(Long limit, Long offset, ApiCallback<GetChildrenList> callback) throws ApiException
limit - Number of documents for child accounts information per page (optional, default to 10)offset - Index of the first document in the page (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 getSsoTokenCall(String childIdentifier, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetSsoToken getSsoToken(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetSsoToken> getSsoTokenWithHttpInfo(String childIdentifier) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSsoTokenAsync(String childIdentifier, ApiCallback<GetSsoToken> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (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 removeCreditsCall(String childIdentifier, RemoveCredits removeCredits, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)removeCredits - Values to post to remove email or SMS credits from a specific child account (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RemainingCreditModel removeCredits(String childIdentifier, RemoveCredits removeCredits) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)removeCredits - Values to post to remove email or SMS credits from a specific child account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RemainingCreditModel> removeCreditsWithHttpInfo(String childIdentifier, RemoveCredits removeCredits) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)removeCredits - Values to post to remove email or SMS credits from a specific child account (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeCreditsAsync(String childIdentifier, RemoveCredits removeCredits, ApiCallback<RemainingCreditModel> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)removeCredits - Values to post to remove email or SMS credits from a specific child account (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 updateChildAccountStatusCall(String childIdentifier, UpdateChildAccountStatus updateChildAccountStatus, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)updateChildAccountStatus - values to update in child account status (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateChildAccountStatus(String childIdentifier, UpdateChildAccountStatus updateChildAccountStatus) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)updateChildAccountStatus - values to update in child account status (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateChildAccountStatusWithHttpInfo(String childIdentifier, UpdateChildAccountStatus updateChildAccountStatus) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)updateChildAccountStatus - values to update in child account status (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateChildAccountStatusAsync(String childIdentifier, UpdateChildAccountStatus updateChildAccountStatus, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)updateChildAccountStatus - values to update in child account status (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 updateChildDomainCall(String childIdentifier, String domainName, UpdateChildDomain updateChildDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be updated (required)updateChildDomain - value to update for sender domain (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateChildDomain(String childIdentifier, String domainName, UpdateChildDomain updateChildDomain) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be updated (required)updateChildDomain - value to update for sender domain (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateChildDomainWithHttpInfo(String childIdentifier, String domainName, UpdateChildDomain updateChildDomain) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be updated (required)updateChildDomain - value to update for sender domain (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateChildDomainAsync(String childIdentifier, String domainName, UpdateChildDomain updateChildDomain, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)domainName - Pass the existing domain that needs to be updated (required)updateChildDomain - value to update for sender domain (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 updateResellerChildCall(String childIdentifier, UpdateChild resellerChild, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)resellerChild - values to update in child profile (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateResellerChild(String childIdentifier, UpdateChild resellerChild) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)resellerChild - values to update in child profile (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateResellerChildWithHttpInfo(String childIdentifier, UpdateChild resellerChild) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)resellerChild - values to update in child profile (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateResellerChildAsync(String childIdentifier, UpdateChild resellerChild, ApiCallback<Void> callback) throws ApiException
childIdentifier - Either auth key or id of reseller's child (required)resellerChild - values to update in child profile (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 objectCopyright © 2021. All rights reserved.