public class PhoneControllerApi extends Object
| Constructor and Description |
|---|
PhoneControllerApi() |
PhoneControllerApi(ApiClient apiClient) |
public PhoneControllerApi()
public PhoneControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createEmergencyAddressCall(CreateEmergencyAddressOptions createEmergencyAddressOptions, ApiCallback _callback) throws ApiException
createEmergencyAddressOptions - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public EmergencyAddress createEmergencyAddress(CreateEmergencyAddressOptions createEmergencyAddressOptions) throws ApiException
createEmergencyAddressOptions - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<EmergencyAddress> createEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions createEmergencyAddressOptions) throws ApiException
createEmergencyAddressOptions - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call createEmergencyAddressAsync(CreateEmergencyAddressOptions createEmergencyAddressOptions, ApiCallback<EmergencyAddress> _callback) throws ApiException
createEmergencyAddressOptions - (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deleteEmergencyAddressCall(UUID addressId, ApiCallback _callback) throws ApiException
addressId - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public EmptyResponseDto deleteEmergencyAddress(UUID addressId) throws ApiException
addressId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<EmptyResponseDto> deleteEmergencyAddressWithHttpInfo(UUID addressId) throws ApiException
addressId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deleteEmergencyAddressAsync(UUID addressId, ApiCallback<EmptyResponseDto> _callback) throws ApiException
addressId - (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deletePhoneNumberCall(UUID phoneNumberId, ApiCallback _callback) throws ApiException
phoneNumberId - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | No Content | - |
public void deletePhoneNumber(UUID phoneNumberId) throws ApiException
phoneNumberId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
public ApiResponse<Void> deletePhoneNumberWithHttpInfo(UUID phoneNumberId) throws ApiException
phoneNumberId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
public okhttp3.Call deletePhoneNumberAsync(UUID phoneNumberId, ApiCallback<Void> _callback) throws ApiException
phoneNumberId - (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 object| Status Code | Description | Response Headers |
| 204 | No Content | - |
public okhttp3.Call getEmergencyAddressCall(UUID addressId, ApiCallback _callback) throws ApiException
addressId - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public EmergencyAddress getEmergencyAddress(UUID addressId) throws ApiException
addressId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<EmergencyAddress> getEmergencyAddressWithHttpInfo(UUID addressId) throws ApiException
addressId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getEmergencyAddressAsync(UUID addressId, ApiCallback<EmergencyAddress> _callback) throws ApiException
addressId - (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getEmergencyAddressesCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public List<EmergencyAddressDto> getEmergencyAddresses() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<List<EmergencyAddressDto>> getEmergencyAddressesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getEmergencyAddressesAsync(ApiCallback<List<EmergencyAddressDto>> _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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhoneNumberCall(UUID phoneNumberId, ApiCallback _callback) throws ApiException
phoneNumberId - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public PhoneNumberDto getPhoneNumber(UUID phoneNumberId) throws ApiException
phoneNumberId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<PhoneNumberDto> getPhoneNumberWithHttpInfo(UUID phoneNumberId) throws ApiException
phoneNumberId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhoneNumberAsync(UUID phoneNumberId, ApiCallback<PhoneNumberDto> _callback) throws ApiException
phoneNumberId - (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhoneNumbersCall(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
phoneCountry - Optional phone country (optional)page - Optional page index for list pagination (optional, default to 0)size - Optional page size for list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)since - Filter by created at after the given timestamp (optional)before - Filter by created at before the given timestamp (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public PagePhoneNumberProjection getPhoneNumbers(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
phoneCountry - Optional phone country (optional)page - Optional page index for list pagination (optional, default to 0)size - Optional page size for list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)since - Filter by created at after the given timestamp (optional)before - Filter by created at before the given timestamp (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<PagePhoneNumberProjection> getPhoneNumbersWithHttpInfo(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
phoneCountry - Optional phone country (optional)page - Optional page index for list pagination (optional, default to 0)size - Optional page size for list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)since - Filter by created at after the given timestamp (optional)before - Filter by created at before the given timestamp (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhoneNumbersAsync(String phoneCountry, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PagePhoneNumberProjection> _callback) throws ApiException
phoneCountry - Optional phone country (optional)page - Optional page index for list pagination (optional, default to 0)size - Optional page size for list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)since - Filter by created at after the given timestamp (optional)before - Filter by created at before the given timestamp (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhonePlansCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public List<PhonePlanDto> getPhonePlans() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<List<PhonePlanDto>> getPhonePlansWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call getPhonePlansAsync(ApiCallback<List<PhonePlanDto>> _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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call testPhoneNumberSendSmsCall(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId, ApiCallback _callback) throws ApiException
phoneNumberId - (required)testPhoneNumberOptions - (required)xTestId - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public void testPhoneNumberSendSms(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId) throws ApiException
phoneNumberId - (required)testPhoneNumberOptions - (required)xTestId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<Void> testPhoneNumberSendSmsWithHttpInfo(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId) throws ApiException
phoneNumberId - (required)testPhoneNumberOptions - (required)xTestId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call testPhoneNumberSendSmsAsync(UUID phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, String xTestId, ApiCallback<Void> _callback) throws ApiException
phoneNumberId - (required)testPhoneNumberOptions - (required)xTestId - (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 object| Status Code | Description | Response Headers |
| 200 | OK | - |
Copyright © 2023. All rights reserved.