lib/v20210624/client.rb in tencentcloud-sdk-bma-3.0.430 vs lib/v20210624/client.rb in tencentcloud-sdk-bma-3.0.431

- old
+ new

@@ -147,11 +147,11 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end - # 新建拦截 + # 新建协查处置 # @param request: Request instance for CreateCRBlock. # @type request: :class:`Tencentcloud::bma::V20210624::CreateCRBlockRequest` # @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRBlockResponse` def CreateCRBlock(request) @@ -483,10 +483,34 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end + # 查询取证详情 + + # @param request: Request instance for DescribeCRObtainDetail. + # @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRObtainDetailRequest` + # @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRObtainDetailResponse` + def DescribeCRObtainDetail(request) + body = send_request('DescribeCRObtainDetail', request.serialize) + response = JSON.parse(body) + if response['Response'].key?('Error') == false + model = DescribeCRObtainDetailResponse.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 DescribeCRWorkInfo. # @type request: :class:`Tencentcloud::bma::V20210624::DescribeCRWorkInfoRequest` # @rtype: :class:`Tencentcloud::bma::V20210624::DescribeCRWorkInfoResponse` @@ -531,10 +555,10 @@ raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end - # 拦截申请 + # 协查处置申请 # @param request: Request instance for ModifyCRBlockStatus. # @type request: :class:`Tencentcloud::bma::V20210624::ModifyCRBlockStatusRequest` # @rtype: :class:`Tencentcloud::bma::V20210624::ModifyCRBlockStatusResponse` def ModifyCRBlockStatus(request) \ No newline at end of file