lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.513 vs lib/v20201111/client.rb in tencentcloud-sdk-ess-3.0.514

- old
+ new

@@ -786,9 +786,35 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end + # 新增/删除应用callbackinfo + # callbackinfo包含: 回调地址和签名key + # 操作:新增/删除 + + # @param request: Request instance for ModifyApplicationCallbackInfo. + # @type request: :class:`Tencentcloud::ess::V20201111::ModifyApplicationCallbackInfoRequest` + # @rtype: :class:`Tencentcloud::ess::V20201111::ModifyApplicationCallbackInfoResponse` + def ModifyApplicationCallbackInfo(request) + body = send_request('ModifyApplicationCallbackInfo', request.serialize) + response = JSON.parse(body) + if response['Response'].key?('Error') == false + model = ModifyApplicationCallbackInfoResponse.new + model.deserialize(response['Response']) + model + else + code = response['Response']['Error']['Code'] + message = response['Response']['Error']['Message'] + reqid = response['Response']['RequestId'] + raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid) + end + rescue TencentCloud::Common::TencentCloudSDKException => e + raise e + rescue StandardError => e + raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) + end + # 此接口用于发起流程 # 适用场景:见创建签署流程接口。 # 注:该接口是“创建电子文档”接口的后置接口,用于激活包含完整合同信息(模板及内容信息)的流程。激活后的流程就是一份待签署的电子合同。 # @param request: Request instance for StartFlow. \ No newline at end of file