/// <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)); }
/// <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)); }
/// <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)); }