Package com.mypurecloud.sdk.v2.api
Class UserRecordingsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.UserRecordingsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a user recording.deleteUserrecording(ApiRequest<Void> request) Delete a user recording.voiddeleteUserrecording(String recordingId) Delete a user recording.deleteUserrecordingWithHttpInfo(String recordingId) Delete a user recording.getUserrecording(GetUserrecordingRequest request) Get a user recording.getUserrecording(ApiRequest<Void> request) Get a user recording.getUserrecording(String recordingId, List<String> expand) Get a user recording.Get a list of user recordings.getUserrecordings(ApiRequest<Void> request) Get a list of user recordings.getUserrecordings(Integer pageSize, Integer pageNumber, List<String> expand) Get a list of user recordings.Get user recording summaryGet user recording summarygetUserrecordingsSummary(ApiRequest<Void> request) Get user recording summaryGet user recording summarygetUserrecordingsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> expand) Get a list of user recordings.Download a user recording.getUserrecordingTranscoding(ApiRequest<Void> request) Download a user recording.getUserrecordingTranscoding(String recordingId, String formatId) Download a user recording.getUserrecordingTranscodingWithHttpInfo(String recordingId, String formatId) Download a user recording.getUserrecordingWithHttpInfo(String recordingId, List<String> expand) Get a user recording.putUserrecording(PutUserrecordingRequest request) Update a user recording.putUserrecording(ApiRequest<UserRecording> request) Update a user recording.putUserrecording(String recordingId, UserRecording body, List<String> expand) Update a user recording.putUserrecordingWithHttpInfo(String recordingId, UserRecording body, List<String> expand) Update a user recording.
-
Constructor Details
-
UserRecordingsApi
public UserRecordingsApi() -
UserRecordingsApi
-
-
Method Details
-
deleteUserrecording
Delete a user recording.- Parameters:
recordingId- User Recording ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteUserrecordingWithHttpInfo
Delete a user recording.- Parameters:
recordingId- User Recording ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteUserrecording
public void deleteUserrecording(DeleteUserrecordingRequest request) throws IOException, ApiException Delete a user recording.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteUserrecording
Delete a user recording.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUserrecording
public UserRecording getUserrecording(String recordingId, List<String> expand) throws IOException, ApiException Get a user recording.- Parameters:
recordingId- User Recording ID (required)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecording
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingWithHttpInfo
public ApiResponse<UserRecording> getUserrecordingWithHttpInfo(String recordingId, List<String> expand) throws IOException Get a user recording.- Parameters:
recordingId- User Recording ID (required)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecording
- Throws:
IOException- if the request fails to be processed
-
getUserrecording
public UserRecording getUserrecording(GetUserrecordingRequest request) throws IOException, ApiException Get a user recording.- Parameters:
request- The request object- Returns:
- UserRecording
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecording
Get a user recording.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUserrecordingTranscoding
public DownloadResponse getUserrecordingTranscoding(String recordingId, String formatId) throws IOException, ApiException Download a user recording.- Parameters:
recordingId- User Recording ID (required)formatId- The desired media format. (optional, default to WEBM)- Returns:
- DownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingTranscodingWithHttpInfo
public ApiResponse<DownloadResponse> getUserrecordingTranscodingWithHttpInfo(String recordingId, String formatId) throws IOException Download a user recording.- Parameters:
recordingId- User Recording ID (required)formatId- The desired media format. (optional, default to WEBM)- Returns:
- DownloadResponse
- Throws:
IOException- if the request fails to be processed
-
getUserrecordingTranscoding
public DownloadResponse getUserrecordingTranscoding(GetUserrecordingTranscodingRequest request) throws IOException, ApiException Download a user recording.- Parameters:
request- The request object- Returns:
- DownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingTranscoding
public ApiResponse<DownloadResponse> getUserrecordingTranscoding(ApiRequest<Void> request) throws IOException Download a user recording.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUserrecordings
public UserRecordingEntityListing getUserrecordings(Integer pageSize, Integer pageNumber, List<String> expand) throws IOException, ApiException Get a list of user recordings.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecordingEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingsWithHttpInfo
public ApiResponse<UserRecordingEntityListing> getUserrecordingsWithHttpInfo(Integer pageSize, Integer pageNumber, List<String> expand) throws IOException Get a list of user recordings.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecordingEntityListing
- Throws:
IOException- if the request fails to be processed
-
getUserrecordings
public UserRecordingEntityListing getUserrecordings(GetUserrecordingsRequest request) throws IOException, ApiException Get a list of user recordings.- Parameters:
request- The request object- Returns:
- UserRecordingEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordings
public ApiResponse<UserRecordingEntityListing> getUserrecordings(ApiRequest<Void> request) throws IOException Get a list of user recordings.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUserrecordingsSummary
Get user recording summary- Returns:
- FaxSummary
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingsSummaryWithHttpInfo
Get user recording summary- Returns:
- FaxSummary
- Throws:
IOException- if the request fails to be processed
-
getUserrecordingsSummary
public FaxSummary getUserrecordingsSummary(GetUserrecordingsSummaryRequest request) throws IOException, ApiException Get user recording summary- Parameters:
request- The request object- Returns:
- FaxSummary
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUserrecordingsSummary
public ApiResponse<FaxSummary> getUserrecordingsSummary(ApiRequest<Void> request) throws IOException Get user recording summary- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putUserrecording
public UserRecording putUserrecording(String recordingId, UserRecording body, List<String> expand) throws IOException, ApiException Update a user recording.- Parameters:
recordingId- User Recording ID (required)body- UserRecording (required)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecording
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putUserrecordingWithHttpInfo
public ApiResponse<UserRecording> putUserrecordingWithHttpInfo(String recordingId, UserRecording body, List<String> expand) throws IOException Update a user recording.- Parameters:
recordingId- User Recording ID (required)body- UserRecording (required)expand- Which fields, if any, to expand. (optional)- Returns:
- UserRecording
- Throws:
IOException- if the request fails to be processed
-
putUserrecording
public UserRecording putUserrecording(PutUserrecordingRequest request) throws IOException, ApiException Update a user recording.- Parameters:
request- The request object- Returns:
- UserRecording
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putUserrecording
public ApiResponse<UserRecording> putUserrecording(ApiRequest<UserRecording> request) throws IOException Update a user recording.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-