示例#1
0
        /// <summary>
        /// Operation: Pause/Resume Recording
        /// Http Patch /restapi/v1.0/account/{accountId}/telephony/sessions/{sessionId}/parties/{partyId}/recordings/{recordingId}
        /// </summary>
        public async Task <RingCentral.CallRecording> Patch(RingCentral.CallRecordingUpdate callRecordingUpdate,
                                                            PauseResumeCallRecordingParameters queryParams = null)
        {
            if (this.recordingId == null)
            {
                throw new System.ArgumentNullException("recordingId");
            }

            return(await rc.Patch <RingCentral.CallRecording>(this.Path(), callRecordingUpdate, queryParams));
        }
示例#2
0
 /// <summary>
 ///     Pause/resume recording
 ///     HTTP Method: patch
 ///     Endpoint:
 ///     /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/recordings/{recordingId}
 ///     Rate Limit Group: Light
 ///     App Permission: CallControl
 /// </summary>
 public async Task <RingCentral.CallRecording> Patch(CallRecordingUpdate callRecordingUpdate,
                                                     PauseResumeCallRecordingParameters queryParams = null, RestRequestConfig restRequestConfig = null)
 {
     if (recordingId == null)
     {
         throw new ArgumentException("Parameter cannot be null", nameof(recordingId));
     }
     return(await rc.Patch <RingCentral.CallRecording>(Path(), callRecordingUpdate, queryParams,
                                                       restRequestConfig));
 }
示例#3
0
 /// <summary>
 ///     Pause/resume recording
 ///     HTTP Method: patch
 ///     Endpoint:
 ///     /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId}/recordings/{recordingId}
 ///     Rate Limit Group: Light
 ///     App Permission: CallControl
 /// </summary>
 public async Task <RingCentral.CallRecording> Patch(CallRecordingUpdate callRecordingUpdate,
                                                     PauseResumeCallRecordingParameters queryParams = null, RestRequestConfig restRequestConfig = null)
 {
     return(await rc.Patch <RingCentral.CallRecording>(Path(), callRecordingUpdate, queryParams,
                                                       restRequestConfig));
 }