Class SenderIdentitiesApi
java.lang.Object
com.boldsign.api.SenderIdentitiesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSenderIdentities(CreateSenderIdentityRequest createSenderIdentityRequest) Creates sender identity.okhttp3.CallcreateSenderIdentitiesAsync(CreateSenderIdentityRequest createSenderIdentityRequest, ApiCallback<SenderIdentityCreated> _callback) Creates sender identity.okhttp3.CallcreateSenderIdentitiesCall(CreateSenderIdentityRequest createSenderIdentityRequest, ApiCallback _callback) Build call for createSenderIdentitiescreateSenderIdentitiesWithHttpInfo(CreateSenderIdentityRequest createSenderIdentityRequest) Creates sender identity.voiddeleteSenderIdentities(String email) Deletes sender identity.okhttp3.CalldeleteSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) Deletes sender identity.okhttp3.CalldeleteSenderIdentitiesCall(String email, ApiCallback _callback) Build call for deleteSenderIdentitiesDeletes sender identity.intLists sender identity.okhttp3.CalllistSenderIdentitiesAsync(Integer page, Integer pageSize, String search, List<String> brandIds, ApiCallback<SenderIdentityList> _callback) Lists sender identity.okhttp3.CalllistSenderIdentitiesCall(Integer page, Integer pageSize, String search, List<String> brandIds, ApiCallback _callback) Build call for listSenderIdentitieslistSenderIdentitiesWithHttpInfo(Integer page, Integer pageSize, String search, List<String> brandIds) Lists sender identity.voidreRequestSenderIdentities(String email) Rerequests denied sender identity.okhttp3.CallreRequestSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) Rerequests denied sender identity.okhttp3.CallreRequestSenderIdentitiesCall(String email, ApiCallback _callback) Build call for reRequestSenderIdentitiesRerequests denied sender identity.voidResends sender identity invitation.okhttp3.CallresendInvitationSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) Resends sender identity invitation.okhttp3.CallresendInvitationSenderIdentitiesCall(String email, ApiCallback _callback) Build call for resendInvitationSenderIdentitiesResends sender identity invitation.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidupdateSenderIdentities(String email, EditSenderIdentityRequest editSenderIdentityRequest) Updates sender identity.okhttp3.CallupdateSenderIdentitiesAsync(String email, EditSenderIdentityRequest editSenderIdentityRequest, ApiCallback<Void> _callback) Updates sender identity.okhttp3.CallupdateSenderIdentitiesCall(String email, EditSenderIdentityRequest editSenderIdentityRequest, ApiCallback _callback) Build call for updateSenderIdentitiesupdateSenderIdentitiesWithHttpInfo(String email, EditSenderIdentityRequest editSenderIdentityRequest) Updates sender identity.
-
Constructor Details
-
SenderIdentitiesApi
public SenderIdentitiesApi() -
SenderIdentitiesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createSenderIdentitiesCall
public okhttp3.Call createSenderIdentitiesCall(CreateSenderIdentityRequest createSenderIdentityRequest, ApiCallback _callback) throws ApiException Build call for createSenderIdentities- Parameters:
createSenderIdentityRequest- The create sender identity request. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request -
-
createSenderIdentities
public SenderIdentityCreated createSenderIdentities(CreateSenderIdentityRequest createSenderIdentityRequest) throws ApiException Creates sender identity.- Parameters:
createSenderIdentityRequest- The create sender identity request. (required)- Returns:
- SenderIdentityCreated
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request -
-
createSenderIdentitiesWithHttpInfo
public ApiResponse<SenderIdentityCreated> createSenderIdentitiesWithHttpInfo(CreateSenderIdentityRequest createSenderIdentityRequest) throws ApiException Creates sender identity.- Parameters:
createSenderIdentityRequest- The create sender identity request. (required)- Returns:
- ApiResponse<SenderIdentityCreated>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request -
-
createSenderIdentitiesAsync
public okhttp3.Call createSenderIdentitiesAsync(CreateSenderIdentityRequest createSenderIdentityRequest, ApiCallback<SenderIdentityCreated> _callback) throws ApiException Creates sender identity. (asynchronously)- Parameters:
createSenderIdentityRequest- The create sender identity request. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request -
-
deleteSenderIdentitiesCall
public okhttp3.Call deleteSenderIdentitiesCall(String email, ApiCallback _callback) throws ApiException Build call for deleteSenderIdentities- Parameters:
email- The email address. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteSenderIdentities
Deletes sender identity.- Parameters:
email- The email address. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteSenderIdentitiesWithHttpInfo
Deletes sender identity.- Parameters:
email- The email address. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteSenderIdentitiesAsync
public okhttp3.Call deleteSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) throws ApiException Deletes sender identity. (asynchronously)- Parameters:
email- The email address. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
listSenderIdentitiesCall
public okhttp3.Call listSenderIdentitiesCall(Integer page, Integer pageSize, String search, List<String> brandIds, ApiCallback _callback) throws ApiException Build call for listSenderIdentities- Parameters:
page- Page index specified in get sender identity request. (required)pageSize- Page size specified in get sender identity list request. (optional, default to 10)search- Users can be listed by the search key present in the sender identity like sender identity name and email address (optional)brandIds- A list of brand IDs to filter associated with the sender identity. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listSenderIdentities
public SenderIdentityList listSenderIdentities(Integer page, Integer pageSize, String search, List<String> brandIds) throws ApiException Lists sender identity.- Parameters:
page- Page index specified in get sender identity request. (required)pageSize- Page size specified in get sender identity list request. (optional, default to 10)search- Users can be listed by the search key present in the sender identity like sender identity name and email address (optional)brandIds- A list of brand IDs to filter associated with the sender identity. (optional)- Returns:
- SenderIdentityList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listSenderIdentitiesWithHttpInfo
public ApiResponse<SenderIdentityList> listSenderIdentitiesWithHttpInfo(Integer page, Integer pageSize, String search, List<String> brandIds) throws ApiException Lists sender identity.- Parameters:
page- Page index specified in get sender identity request. (required)pageSize- Page size specified in get sender identity list request. (optional, default to 10)search- Users can be listed by the search key present in the sender identity like sender identity name and email address (optional)brandIds- A list of brand IDs to filter associated with the sender identity. (optional)- Returns:
- ApiResponse<SenderIdentityList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listSenderIdentitiesAsync
public okhttp3.Call listSenderIdentitiesAsync(Integer page, Integer pageSize, String search, List<String> brandIds, ApiCallback<SenderIdentityList> _callback) throws ApiException Lists sender identity. (asynchronously)- Parameters:
page- Page index specified in get sender identity request. (required)pageSize- Page size specified in get sender identity list request. (optional, default to 10)search- Users can be listed by the search key present in the sender identity like sender identity name and email address (optional)brandIds- A list of brand IDs to filter associated with the sender identity. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
reRequestSenderIdentitiesCall
public okhttp3.Call reRequestSenderIdentitiesCall(String email, ApiCallback _callback) throws ApiException Build call for reRequestSenderIdentities- Parameters:
email- The email address. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
reRequestSenderIdentities
Rerequests denied sender identity.- Parameters:
email- The email address. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
reRequestSenderIdentitiesWithHttpInfo
Rerequests denied sender identity.- Parameters:
email- The email address. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
reRequestSenderIdentitiesAsync
public okhttp3.Call reRequestSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) throws ApiException Rerequests denied sender identity. (asynchronously)- Parameters:
email- The email address. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
resendInvitationSenderIdentitiesCall
public okhttp3.Call resendInvitationSenderIdentitiesCall(String email, ApiCallback _callback) throws ApiException Build call for resendInvitationSenderIdentities- Parameters:
email- The email address. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
resendInvitationSenderIdentities
Resends sender identity invitation.- Parameters:
email- The email address. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
resendInvitationSenderIdentitiesWithHttpInfo
public ApiResponse<Void> resendInvitationSenderIdentitiesWithHttpInfo(String email) throws ApiException Resends sender identity invitation.- Parameters:
email- The email address. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
resendInvitationSenderIdentitiesAsync
public okhttp3.Call resendInvitationSenderIdentitiesAsync(String email, ApiCallback<Void> _callback) throws ApiException Resends sender identity invitation. (asynchronously)- Parameters:
email- The email address. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
updateSenderIdentitiesCall
public okhttp3.Call updateSenderIdentitiesCall(String email, EditSenderIdentityRequest editSenderIdentityRequest, ApiCallback _callback) throws ApiException Build call for updateSenderIdentities- Parameters:
email- The email address. (required)editSenderIdentityRequest- The create sender identity request. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
updateSenderIdentities
public void updateSenderIdentities(String email, EditSenderIdentityRequest editSenderIdentityRequest) throws ApiException Updates sender identity.- Parameters:
email- The email address. (required)editSenderIdentityRequest- The create sender identity request. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
updateSenderIdentitiesWithHttpInfo
public ApiResponse<Void> updateSenderIdentitiesWithHttpInfo(String email, EditSenderIdentityRequest editSenderIdentityRequest) throws ApiException Updates sender identity.- Parameters:
email- The email address. (required)editSenderIdentityRequest- The create sender identity request. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
updateSenderIdentitiesAsync
public okhttp3.Call updateSenderIdentitiesAsync(String email, EditSenderIdentityRequest editSenderIdentityRequest, ApiCallback<Void> _callback) throws ApiException Updates sender identity. (asynchronously)- Parameters:
email- The email address. (required)editSenderIdentityRequest- The create sender identity request. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-