tencentcloud-sdk-mrs 3.0.656 → 3.0.657

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4e9c610413b72557f3b0b2f925cc36f2d6026a5
4
- data.tar.gz: 55a8a9f1aeabb5341ef81b4a20e5f68da132d288
3
+ metadata.gz: 7a17e2a937858cb8a5dc48ccafb1b3ee6d2a1369
4
+ data.tar.gz: ae7ba34c8f348d534e6ffb9e9b395538c0f7ac05
5
5
  SHA512:
6
- metadata.gz: 0c36d9fb49267a062ca75564f15cf968f775e0173f862eb773225b8131e58df8b1c0adaf83a96e258bac589b5f2b69d74e5b5f5f923926c440078db0ebf1fbbf
7
- data.tar.gz: 2b80d25923bc23d2037eec47935b7418e27a079eb73856cb3f463582a66cfae1a8cee01c473d49ba9098065871b0bb89dc6a0459248e527406e08c8ec744f0b3
6
+ metadata.gz: 449e5e901db0fed862158dbd92d8860b603c566dd6405358cf31be45cd9f87523b2d10e701d18c8d3841508e4ec47e793972b9b84a7cfbe63274781110bc0df0
7
+ data.tar.gz: 24b05f58a1b4a7798298cacba4137ae3ecb34b7e3841cfc9bd5f5766af4c6652604a7aa19bb781c0607bcacf3d06feaa42ed0e33288e9d6bf0a76a8e72f4ba39
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.657
@@ -127,6 +127,30 @@ module TencentCloud
127
127
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
128
  end
129
129
 
130
+ # 将PDF格式的体检报告文件结构化,解析关键信息.
131
+
132
+ # @param request: Request instance for TurnPDFToObject.
133
+ # @type request: :class:`Tencentcloud::mrs::V20200910::TurnPDFToObjectRequest`
134
+ # @rtype: :class:`Tencentcloud::mrs::V20200910::TurnPDFToObjectResponse`
135
+ def TurnPDFToObject(request)
136
+ body = send_request('TurnPDFToObject', request.serialize)
137
+ response = JSON.parse(body)
138
+ if response['Response'].key?('Error') == false
139
+ model = TurnPDFToObjectResponse.new
140
+ model.deserialize(response['Response'])
141
+ model
142
+ else
143
+ code = response['Response']['Error']['Code']
144
+ message = response['Response']['Error']['Message']
145
+ reqid = response['Response']['RequestId']
146
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
147
+ end
148
+ rescue TencentCloud::Common::TencentCloudSDKException => e
149
+ raise e
150
+ rescue StandardError => e
151
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
152
+ end
153
+
130
154
 
131
155
  end
132
156
  end