Package com.mypurecloud.sdk.v2.api
Class MobileDevicesApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.MobileDevicesApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteMobiledeviceAsync(DeleteMobiledeviceRequest request, AsyncApiCallback<Void> callback) Delete devicedeleteMobiledeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete devicegetMobiledeviceAsync(GetMobiledeviceRequest request, AsyncApiCallback<UserDevice> callback) Get devicegetMobiledeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Get devicegetMobiledevicesAsync(GetMobiledevicesRequest request, AsyncApiCallback<DirectoryUserDevicesListing> callback) Get a list of all devices.getMobiledevicesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DirectoryUserDevicesListing>> callback) Get a list of all devices.postMobiledevicesAsync(PostMobiledevicesRequest request, AsyncApiCallback<UserDevice> callback) Create User devicepostMobiledevicesAsync(ApiRequest<UserDevice> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Create User deviceputMobiledeviceAsync(PutMobiledeviceRequest request, AsyncApiCallback<UserDevice> callback) Update deviceputMobiledeviceAsync(ApiRequest<UserDevice> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Update device
-
Constructor Details
-
MobileDevicesApiAsync
public MobileDevicesApiAsync() -
MobileDevicesApiAsync
-
-
Method Details
-
deleteMobiledeviceAsync
public Future<Void> deleteMobiledeviceAsync(DeleteMobiledeviceRequest request, AsyncApiCallback<Void> callback) Delete device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteMobiledeviceAsync
public Future<ApiResponse<Void>> deleteMobiledeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getMobiledeviceAsync
public Future<UserDevice> getMobiledeviceAsync(GetMobiledeviceRequest request, AsyncApiCallback<UserDevice> callback) Get device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getMobiledeviceAsync
public Future<ApiResponse<UserDevice>> getMobiledeviceAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Get device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getMobiledevicesAsync
public Future<DirectoryUserDevicesListing> getMobiledevicesAsync(GetMobiledevicesRequest request, AsyncApiCallback<DirectoryUserDevicesListing> callback) Get a list of all devices.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getMobiledevicesAsync
public Future<ApiResponse<DirectoryUserDevicesListing>> getMobiledevicesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DirectoryUserDevicesListing>> callback) Get a list of all devices.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postMobiledevicesAsync
public Future<UserDevice> postMobiledevicesAsync(PostMobiledevicesRequest request, AsyncApiCallback<UserDevice> callback) Create User device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postMobiledevicesAsync
public Future<ApiResponse<UserDevice>> postMobiledevicesAsync(ApiRequest<UserDevice> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Create User device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putMobiledeviceAsync
public Future<UserDevice> putMobiledeviceAsync(PutMobiledeviceRequest request, AsyncApiCallback<UserDevice> callback) Update device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putMobiledeviceAsync
public Future<ApiResponse<UserDevice>> putMobiledeviceAsync(ApiRequest<UserDevice> request, AsyncApiCallback<ApiResponse<UserDevice>> callback) Update device- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-