tencentcloud-sdk-cii 1.0.259 → 1.0.260

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cecd58143c07ae2f207e09691c6e3f3920e02c5
4
- data.tar.gz: af8940e09a75817dd459b3dfeea427965f13bfad
3
+ metadata.gz: 790a46b3b7896ca8294d3ff88e323ca07d1e4ded
4
+ data.tar.gz: cd8ca46c382bf3343f40f7927430435f3cb36a0a
5
5
  SHA512:
6
- metadata.gz: f9806fc616ef007a8392c8105a83df2a9f631c25d1decad9dbb428974c26ff03a3be62682378db2ea9cd4c468555ef6ff7086bb036e0ef56d76d9ce18971dfae
7
- data.tar.gz: bbf85e9e9a09bdfd69b03c3451c46298219818f5acee952efce60a097a64d0eab2fa431b2829915e236e351ccdb809671627020180c93cf56d66a605752ab640
6
+ metadata.gz: c8600aad7c56e33d3f679ae8d7b6ab08cf7d566d950d1f35e9921758033ef5eb7d3e1848cf31d895aa0b8d20b8ee59a6a1d67cee5ba761e21a9696aff811357d
7
+ data.tar.gz: 123ea270fed8b7ccf19068d5606649d3cfaa003b2a443cb117bdb72061b9e93b924744c1c63760c21c7dd018199267ca5e9e6d84e551aa6b668a448d2c2bf0ad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.259
1
+ 1.0.260
@@ -149,6 +149,31 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # 获取图片质量分
153
+
154
+ # @param request: Request instance for DescribeQualityScore.
155
+ # @type request: :class:`Tencentcloud::cii::V20210408::DescribeQualityScoreRequest`
156
+ # @rtype: :class:`Tencentcloud::cii::V20210408::DescribeQualityScoreResponse`
157
+ def DescribeQualityScore(request)
158
+ options = {'IsMultipart': True, 'BinaryParams': [u'File']}
159
+ body = send_request('DescribeQualityScore', request.serialize, options)
160
+ response = JSON.parse(body)
161
+ if response['Response'].key?('Error') == false
162
+ model = DescribeQualityScoreResponse.new
163
+ model.deserialize(response['Response'])
164
+ model
165
+ else
166
+ code = response['Response']['Error']['Code']
167
+ message = response['Response']['Error']['Message']
168
+ reqid = response['Response']['RequestId']
169
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
170
+ end
171
+ rescue TencentCloud::Common::TencentCloudSDKException => e
172
+ raise e
173
+ rescue StandardError => e
174
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
+ end
176
+
152
177
  # 辅助用户对批量报告自动分类
153
178
 
154
179
  # @param request: Request instance for DescribeReportClassify.
@@ -476,6 +476,42 @@ module TencentCloud
476
476
  end
477
477
  end
478
478
 
479
+ # DescribeQualityScore请求参数结构体
480
+ class DescribeQualityScoreRequest < TencentCloud::Common::AbstractModel
481
+ # @param File: 文件二进制数据
482
+ # @type File: String
483
+
484
+ attr_accessor :File
485
+
486
+ def initialize(file=nil)
487
+ @File = file
488
+ end
489
+
490
+ def deserialize(params)
491
+ @File = params['File']
492
+ end
493
+ end
494
+
495
+ # DescribeQualityScore返回参数结构体
496
+ class DescribeQualityScoreResponse < TencentCloud::Common::AbstractModel
497
+ # @param QualityScore: 质量分
498
+ # @type QualityScore: Float
499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
500
+ # @type RequestId: String
501
+
502
+ attr_accessor :QualityScore, :RequestId
503
+
504
+ def initialize(qualityscore=nil, requestid=nil)
505
+ @QualityScore = qualityscore
506
+ @RequestId = requestid
507
+ end
508
+
509
+ def deserialize(params)
510
+ @QualityScore = params['QualityScore']
511
+ @RequestId = params['RequestId']
512
+ end
513
+ end
514
+
479
515
  # DescribeReportClassify请求参数结构体
480
516
  class DescribeReportClassifyRequest < TencentCloud::Common::AbstractModel
481
517
  # @param ServiceType: 服务类型
@@ -1196,19 +1232,54 @@ module TencentCloud
1196
1232
  # @type Result: String
1197
1233
  # @param Value: 风险值或者说明
1198
1234
  # @type Value: String
1235
+ # @param Range: 参考范围
1236
+ # 注意:此字段可能返回 null,表示取不到有效值。
1237
+ # @type Range: String
1238
+ # @param ReportDate: 报告时间
1239
+ # 注意:此字段可能返回 null,表示取不到有效值。
1240
+ # @type ReportDate: Array
1241
+ # @param FileType: 文件类型
1242
+ # 注意:此字段可能返回 null,表示取不到有效值。
1243
+ # @type FileType: String
1244
+ # @param InspectProject: 检查项目
1245
+ # 注意:此字段可能返回 null,表示取不到有效值。
1246
+ # @type InspectProject: String
1247
+ # @param Unit: 单位
1248
+ # 注意:此字段可能返回 null,表示取不到有效值。
1249
+ # @type Unit: String
1250
+ # @param OriginName: 原名
1251
+ # 注意:此字段可能返回 null,表示取不到有效值。
1252
+ # @type OriginName: String
1253
+ # @param YinYang: 阴阳性
1254
+ # 注意:此字段可能返回 null,表示取不到有效值。
1255
+ # @type YinYang: String
1199
1256
 
1200
- attr_accessor :Name, :Result, :Value
1257
+ attr_accessor :Name, :Result, :Value, :Range, :ReportDate, :FileType, :InspectProject, :Unit, :OriginName, :YinYang
1201
1258
 
1202
- def initialize(name=nil, result=nil, value=nil)
1259
+ def initialize(name=nil, result=nil, value=nil, range=nil, reportdate=nil, filetype=nil, inspectproject=nil, unit=nil, originname=nil, yinyang=nil)
1203
1260
  @Name = name
1204
1261
  @Result = result
1205
1262
  @Value = value
1263
+ @Range = range
1264
+ @ReportDate = reportdate
1265
+ @FileType = filetype
1266
+ @InspectProject = inspectproject
1267
+ @Unit = unit
1268
+ @OriginName = originname
1269
+ @YinYang = yinyang
1206
1270
  end
1207
1271
 
1208
1272
  def deserialize(params)
1209
1273
  @Name = params['Name']
1210
1274
  @Result = params['Result']
1211
1275
  @Value = params['Value']
1276
+ @Range = params['Range']
1277
+ @ReportDate = params['ReportDate']
1278
+ @FileType = params['FileType']
1279
+ @InspectProject = params['InspectProject']
1280
+ @Unit = params['Unit']
1281
+ @OriginName = params['OriginName']
1282
+ @YinYang = params['YinYang']
1212
1283
  end
1213
1284
  end
1214
1285
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cii
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.259
4
+ version: 1.0.260
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud