Package com.mypurecloud.sdk.v2.api
Class StationsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.StationsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUnassigns the user assigned to this stationdeleteStationAssociateduser(ApiRequest<Void> request) Unassigns the user assigned to this stationvoiddeleteStationAssociateduser(String stationId) Unassigns the user assigned to this stationdeleteStationAssociateduserWithHttpInfo(String stationId) Unassigns the user assigned to this stationgetStation(GetStationRequest request) Get station.getStation(ApiRequest<Void> request) Get station.getStation(String stationId) Get station.getStations(GetStationsRequest request) Get the list of available stations.getStations(ApiRequest<Void> request) Get the list of available stations.getStations(Integer pageSize, Integer pageNumber, String sortBy, String name, String userSelectable, String webRtcUserId, String id, String lineAppearanceId) Get the list of available stations.getStationsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String name, String userSelectable, String webRtcUserId, String id, String lineAppearanceId) Get the list of available stations.getStationWithHttpInfo(String stationId) Get station.
-
Constructor Details
-
StationsApi
public StationsApi() -
StationsApi
-
-
Method Details
-
deleteStationAssociateduser
Unassigns the user assigned to this station- Parameters:
stationId- Station ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteStationAssociateduserWithHttpInfo
public ApiResponse<Void> deleteStationAssociateduserWithHttpInfo(String stationId) throws IOException Unassigns the user assigned to this station- Parameters:
stationId- Station ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteStationAssociateduser
public void deleteStationAssociateduser(DeleteStationAssociateduserRequest request) throws IOException, ApiException Unassigns the user assigned to this station- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteStationAssociateduser
Unassigns the user assigned to this station- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getStation
Get station.- Parameters:
stationId- Station ID (required)- Returns:
- Station
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getStationWithHttpInfo
Get station.- Parameters:
stationId- Station ID (required)- Returns:
- Station
- Throws:
IOException- if the request fails to be processed
-
getStation
Get station.- Parameters:
request- The request object- Returns:
- Station
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getStation
Get station.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getStations
public StationEntityListing getStations(Integer pageSize, Integer pageNumber, String sortBy, String name, String userSelectable, String webRtcUserId, String id, String lineAppearanceId) throws IOException, ApiException Get the list of available stations.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortBy- Sort by (optional, default to name)name- Name (optional)userSelectable- True for stations that the user can select otherwise false (optional)webRtcUserId- Filter for the webRtc station of the webRtcUserId (optional)id- Comma separated list of stationIds (optional)lineAppearanceId- lineAppearanceId (optional)- Returns:
- StationEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getStationsWithHttpInfo
public ApiResponse<StationEntityListing> getStationsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String name, String userSelectable, String webRtcUserId, String id, String lineAppearanceId) throws IOException Get the list of available stations.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)sortBy- Sort by (optional, default to name)name- Name (optional)userSelectable- True for stations that the user can select otherwise false (optional)webRtcUserId- Filter for the webRtc station of the webRtcUserId (optional)id- Comma separated list of stationIds (optional)lineAppearanceId- lineAppearanceId (optional)- Returns:
- StationEntityListing
- Throws:
IOException- if the request fails to be processed
-
getStations
public StationEntityListing getStations(GetStationsRequest request) throws IOException, ApiException Get the list of available stations.- Parameters:
request- The request object- Returns:
- StationEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getStations
Get the list of available stations.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-