/// <summary> /// 修改用户自定义转码模板信息。 /// </summary> /// <param name="req">参考<see cref="ModifyTranscodeTemplateRequest"/></param> /// <returns>参考<see cref="ModifyTranscodeTemplateResponse"/>实例</returns> public async Task <ModifyTranscodeTemplateResponse> ModifyTranscodeTemplate(ModifyTranscodeTemplateRequest req) { JsonResponseModel <ModifyTranscodeTemplateResponse> rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyTranscodeTemplate"); rsp = JsonConvert.DeserializeObject <JsonResponseModel <ModifyTranscodeTemplateResponse> >(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return(rsp.Response); }
/// <summary> /// 部分修改转码模板 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <ModifyTranscodeTemplateResponse> ModifyTranscodeTemplate(ModifyTranscodeTemplateRequest request) { return(await new ModifyTranscodeTemplateExecutor().Client(this).Execute <ModifyTranscodeTemplateResponse, ModifyTranscodeTemplateResult, ModifyTranscodeTemplateRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 部分修改转码模板 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public ModifyTranscodeTemplateResponse ModifyTranscodeTemplate(ModifyTranscodeTemplateRequest request) { return(new ModifyTranscodeTemplateExecutor().Client(this).Execute <ModifyTranscodeTemplateResponse, ModifyTranscodeTemplateResult, ModifyTranscodeTemplateRequest>(request)); }