Package com.mypurecloud.sdk.v2.api
Class StationsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.StationsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteStationAssociateduserAsync(DeleteStationAssociateduserRequest request, AsyncApiCallback<Void> callback) Unassigns the user assigned to this stationdeleteStationAssociateduserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Unassigns the user assigned to this stationgetStationAsync(GetStationRequest request, AsyncApiCallback<Station> callback) Get station.getStationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Station>> callback) Get station.getStationsAsync(GetStationsRequest request, AsyncApiCallback<StationEntityListing> callback) Get the list of available stations.getStationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<StationEntityListing>> callback) Get the list of available stations.
-
Constructor Details
-
StationsApiAsync
public StationsApiAsync() -
StationsApiAsync
-
-
Method Details
-
deleteStationAssociateduserAsync
public Future<Void> deleteStationAssociateduserAsync(DeleteStationAssociateduserRequest request, AsyncApiCallback<Void> callback) Unassigns the user assigned to this station- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteStationAssociateduserAsync
public Future<ApiResponse<Void>> deleteStationAssociateduserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Unassigns the user assigned to this station- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getStationAsync
public Future<Station> getStationAsync(GetStationRequest request, AsyncApiCallback<Station> callback) Get station.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getStationAsync
public Future<ApiResponse<Station>> getStationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Station>> callback) Get station.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getStationsAsync
public Future<StationEntityListing> getStationsAsync(GetStationsRequest request, AsyncApiCallback<StationEntityListing> callback) Get the list of available stations.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getStationsAsync
public Future<ApiResponse<StationEntityListing>> getStationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<StationEntityListing>> callback) Get the list of available stations.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-