Class IpPoolsApi
java.lang.Object
sendpost_java_sdk.IpPoolsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIPPool(IPPoolCreateRequest ipPoolCreateRequest) Create a New IPPool Creates a new IPPool with the specified name, IPs, and third-party sending providers.okhttp3.CallcreateIPPoolAsync(IPPoolCreateRequest ipPoolCreateRequest, ApiCallback<IPPool> _callback) Create a New IPPool (asynchronously) Creates a new IPPool with the specified name, IPs, and third-party sending providers.okhttp3.CallcreateIPPoolCall(IPPoolCreateRequest ipPoolCreateRequest, ApiCallback _callback) Build call for createIPPoolcreateIPPoolWithHttpInfo(IPPoolCreateRequest ipPoolCreateRequest) Create a New IPPool Creates a new IPPool with the specified name, IPs, and third-party sending providers.deleteIPPool(Integer ippoolId) Delete a Specific IPPool Delete a specific IPPool based on its ID.okhttp3.CalldeleteIPPoolAsync(Integer ippoolId, ApiCallback<IPPoolDeleteResponse> _callback) Delete a Specific IPPool (asynchronously) Delete a specific IPPool based on its ID.okhttp3.CalldeleteIPPoolCall(Integer ippoolId, ApiCallback _callback) Build call for deleteIPPooldeleteIPPoolWithHttpInfo(Integer ippoolId) Delete a Specific IPPool Delete a specific IPPool based on its ID.getAllIPPools(Integer limit, Integer offset, String search) Get All IPPools Retrieves a list of all IPPools and information about all IPs contained in that pool.okhttp3.CallgetAllIPPoolsAsync(Integer limit, Integer offset, String search, ApiCallback<List<IPPool>> _callback) Get All IPPools (asynchronously) Retrieves a list of all IPPools and information about all IPs contained in that pool.okhttp3.CallgetAllIPPoolsCall(Integer limit, Integer offset, String search, ApiCallback _callback) Build call for getAllIPPoolsgetAllIPPoolsWithHttpInfo(Integer limit, Integer offset, String search) Get All IPPools Retrieves a list of all IPPools and information about all IPs contained in that pool.intgetIPPoolById(Integer ippoolId) Get a Specific IPPool Retrieves details of a specific IPPool based on its ID.okhttp3.CallgetIPPoolByIdAsync(Integer ippoolId, ApiCallback<IPPool> _callback) Get a Specific IPPool (asynchronously) Retrieves details of a specific IPPool based on its ID.okhttp3.CallgetIPPoolByIdCall(Integer ippoolId, ApiCallback _callback) Build call for getIPPoolByIdgetIPPoolByIdWithHttpInfo(Integer ippoolId) Get a Specific IPPool Retrieves details of a specific IPPool based on its ID.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateIPPool(Integer ippoolId, IPPoolUpdateRequest ipPoolUpdateRequest) Update an Existing IPPool Update the details of an existing IPPool by its ID.okhttp3.CallupdateIPPoolAsync(Integer ippoolId, IPPoolUpdateRequest ipPoolUpdateRequest, ApiCallback<IPPool> _callback) Update an Existing IPPool (asynchronously) Update the details of an existing IPPool by its ID.okhttp3.CallupdateIPPoolCall(Integer ippoolId, IPPoolUpdateRequest ipPoolUpdateRequest, ApiCallback _callback) Build call for updateIPPoolupdateIPPoolWithHttpInfo(Integer ippoolId, IPPoolUpdateRequest ipPoolUpdateRequest) Update an Existing IPPool Update the details of an existing IPPool by its ID.
-
Constructor Details
-
IpPoolsApi
public IpPoolsApi() -
IpPoolsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createIPPoolCall
public okhttp3.Call createIPPoolCall(@Nonnull IPPoolCreateRequest ipPoolCreateRequest, ApiCallback _callback) throws ApiException Build call for createIPPool- Parameters:
ipPoolCreateRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 Created IPPool details - 403 Forbidden, IPPool with the same name already exists -
-
createIPPool
Create a New IPPool Creates a new IPPool with the specified name, IPs, and third-party sending providers.- Parameters:
ipPoolCreateRequest- (required)- Returns:
- IPPool
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Created IPPool details - 403 Forbidden, IPPool with the same name already exists -
-
createIPPoolWithHttpInfo
public ApiResponse<IPPool> createIPPoolWithHttpInfo(@Nonnull IPPoolCreateRequest ipPoolCreateRequest) throws ApiException Create a New IPPool Creates a new IPPool with the specified name, IPs, and third-party sending providers.- Parameters:
ipPoolCreateRequest- (required)- Returns:
- ApiResponse<IPPool>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Created IPPool details - 403 Forbidden, IPPool with the same name already exists -
-
createIPPoolAsync
public okhttp3.Call createIPPoolAsync(@Nonnull IPPoolCreateRequest ipPoolCreateRequest, ApiCallback<IPPool> _callback) throws ApiException Create a New IPPool (asynchronously) Creates a new IPPool with the specified name, IPs, and third-party sending providers.- Parameters:
ipPoolCreateRequest- (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:
Response Details Status Code Description Response Headers 200 Created IPPool details - 403 Forbidden, IPPool with the same name already exists -
-
deleteIPPoolCall
public okhttp3.Call deleteIPPoolCall(@Nonnull Integer ippoolId, ApiCallback _callback) throws ApiException Build call for deleteIPPool- Parameters:
ippoolId- The ID of the IPPool to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 Successful deletion of the IPPool - 404 IPPool not found - 401 Unauthorized -
-
deleteIPPool
Delete a Specific IPPool Delete a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool to delete (required)- Returns:
- IPPoolDeleteResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Successful deletion of the IPPool - 404 IPPool not found - 401 Unauthorized -
-
deleteIPPoolWithHttpInfo
public ApiResponse<IPPoolDeleteResponse> deleteIPPoolWithHttpInfo(@Nonnull Integer ippoolId) throws ApiException Delete a Specific IPPool Delete a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool to delete (required)- Returns:
- ApiResponse<IPPoolDeleteResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Successful deletion of the IPPool - 404 IPPool not found - 401 Unauthorized -
-
deleteIPPoolAsync
public okhttp3.Call deleteIPPoolAsync(@Nonnull Integer ippoolId, ApiCallback<IPPoolDeleteResponse> _callback) throws ApiException Delete a Specific IPPool (asynchronously) Delete a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool to delete (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:
Response Details Status Code Description Response Headers 200 Successful deletion of the IPPool - 404 IPPool not found - 401 Unauthorized -
-
getAllIPPoolsCall
public okhttp3.Call getAllIPPoolsCall(@Nullable Integer limit, @Nullable Integer offset, @Nullable String search, ApiCallback _callback) throws ApiException Build call for getAllIPPools- Parameters:
limit- Number of records to return per request (optional)offset- Number of initial records to skip (optional)search- Case insensitive search against IPPool name (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 A list of IPPools - 401 Unauthorized -
-
getAllIPPools
public List<IPPool> getAllIPPools(@Nullable Integer limit, @Nullable Integer offset, @Nullable String search) throws ApiException Get All IPPools Retrieves a list of all IPPools and information about all IPs contained in that pool.- Parameters:
limit- Number of records to return per request (optional)offset- Number of initial records to skip (optional)search- Case insensitive search against IPPool name (optional)- Returns:
- List<IPPool>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 A list of IPPools - 401 Unauthorized -
-
getAllIPPoolsWithHttpInfo
public ApiResponse<List<IPPool>> getAllIPPoolsWithHttpInfo(@Nullable Integer limit, @Nullable Integer offset, @Nullable String search) throws ApiException Get All IPPools Retrieves a list of all IPPools and information about all IPs contained in that pool.- Parameters:
limit- Number of records to return per request (optional)offset- Number of initial records to skip (optional)search- Case insensitive search against IPPool name (optional)- Returns:
- ApiResponse<List<IPPool>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 A list of IPPools - 401 Unauthorized -
-
getAllIPPoolsAsync
public okhttp3.Call getAllIPPoolsAsync(@Nullable Integer limit, @Nullable Integer offset, @Nullable String search, ApiCallback<List<IPPool>> _callback) throws ApiException Get All IPPools (asynchronously) Retrieves a list of all IPPools and information about all IPs contained in that pool.- Parameters:
limit- Number of records to return per request (optional)offset- Number of initial records to skip (optional)search- Case insensitive search against IPPool name (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:
Response Details Status Code Description Response Headers 200 A list of IPPools - 401 Unauthorized -
-
getIPPoolByIdCall
public okhttp3.Call getIPPoolByIdCall(@Nonnull Integer ippoolId, ApiCallback _callback) throws ApiException Build call for getIPPoolById- Parameters:
ippoolId- The ID of the IPPool whose information you want to retrieve (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 Details of a specific IPPool - 401 Unauthorized -
-
getIPPoolById
Get a Specific IPPool Retrieves details of a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool whose information you want to retrieve (required)- Returns:
- IPPool
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Details of a specific IPPool - 401 Unauthorized -
-
getIPPoolByIdWithHttpInfo
Get a Specific IPPool Retrieves details of a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool whose information you want to retrieve (required)- Returns:
- ApiResponse<IPPool>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Details of a specific IPPool - 401 Unauthorized -
-
getIPPoolByIdAsync
public okhttp3.Call getIPPoolByIdAsync(@Nonnull Integer ippoolId, ApiCallback<IPPool> _callback) throws ApiException Get a Specific IPPool (asynchronously) Retrieves details of a specific IPPool based on its ID.- Parameters:
ippoolId- The ID of the IPPool whose information you want to retrieve (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:
Response Details Status Code Description Response Headers 200 Details of a specific IPPool - 401 Unauthorized -
-
updateIPPoolCall
public okhttp3.Call updateIPPoolCall(@Nonnull Integer ippoolId, @Nonnull IPPoolUpdateRequest ipPoolUpdateRequest, ApiCallback _callback) throws ApiException Build call for updateIPPool- Parameters:
ippoolId- The ID of the IPPool to update (required)ipPoolUpdateRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 The updated IPPool details - 400 Bad request - invalid or missing data - 404 IPPool not found - 401 Unauthorized -
-
updateIPPool
public IPPool updateIPPool(@Nonnull Integer ippoolId, @Nonnull IPPoolUpdateRequest ipPoolUpdateRequest) throws ApiException Update an Existing IPPool Update the details of an existing IPPool by its ID.- Parameters:
ippoolId- The ID of the IPPool to update (required)ipPoolUpdateRequest- (required)- Returns:
- IPPool
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 The updated IPPool details - 400 Bad request - invalid or missing data - 404 IPPool not found - 401 Unauthorized -
-
updateIPPoolWithHttpInfo
public ApiResponse<IPPool> updateIPPoolWithHttpInfo(@Nonnull Integer ippoolId, @Nonnull IPPoolUpdateRequest ipPoolUpdateRequest) throws ApiException Update an Existing IPPool Update the details of an existing IPPool by its ID.- Parameters:
ippoolId- The ID of the IPPool to update (required)ipPoolUpdateRequest- (required)- Returns:
- ApiResponse<IPPool>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 The updated IPPool details - 400 Bad request - invalid or missing data - 404 IPPool not found - 401 Unauthorized -
-
updateIPPoolAsync
public okhttp3.Call updateIPPoolAsync(@Nonnull Integer ippoolId, @Nonnull IPPoolUpdateRequest ipPoolUpdateRequest, ApiCallback<IPPool> _callback) throws ApiException Update an Existing IPPool (asynchronously) Update the details of an existing IPPool by its ID.- Parameters:
ippoolId- The ID of the IPPool to update (required)ipPoolUpdateRequest- (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:
Response Details Status Code Description Response Headers 200 The updated IPPool details - 400 Bad request - invalid or missing data - 404 IPPool not found - 401 Unauthorized -
-