lib/v20210624/client.rb in tencentcloud-sdk-bma-3.0.548 vs lib/v20210624/client.rb in tencentcloud-sdk-bma-3.0.549

- old
+ new

@@ -219,35 +219,9 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end - # 不对外提供接口能力了 - - # 版权保护-新建取证接口 - - # @param request: Request instance for CreateCRObtain. - # @type request: :class:`Tencentcloud::bma::V20210624::CreateCRObtainRequest` - # @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRObtainResponse` - def CreateCRObtain(request) - body = send_request('CreateCRObtain', request.serialize) - response = JSON.parse(body) - if response['Response'].key?('Error') == false - model = CreateCRObtainResponse.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 CreateCRRight. # @type request: :class:`Tencentcloud::bma::V20210624::CreateCRRightRequest` # @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRRightResponse` \ No newline at end of file