tencentcloud-sdk-cii 1.0.256 → 1.0.260

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: 5b52704d029ac862d76e1deb5c989a7e3ea6b279
4
- data.tar.gz: 2195d19537205cb3b9bb213bab4560fa87beb473
3
+ metadata.gz: 790a46b3b7896ca8294d3ff88e323ca07d1e4ded
4
+ data.tar.gz: cd8ca46c382bf3343f40f7927430435f3cb36a0a
5
5
  SHA512:
6
- metadata.gz: ab70a89eac9f258e7ae2583aaa9fca8a94c8285e14ea03579c08f6a351ef4a83e8245a7d29b4a4495657034bc17b9517a2f9ddca287819fced75badfb6cf8d51
7
- data.tar.gz: b65a7cc25ee43dca2e98f8b81bb95f99867e48b9d7fdd071b114dc856a357986d4682a05182be3dded9bbd50a58961c9cd16445980aa8d3fb720754b53d863ff
6
+ metadata.gz: c8600aad7c56e33d3f679ae8d7b6ab08cf7d566d950d1f35e9921758033ef5eb7d3e1848cf31d895aa0b8d20b8ee59a6a1d67cee5ba761e21a9696aff811357d
7
+ data.tar.gz: 123ea270fed8b7ccf19068d5606649d3cfaa003b2a443cb117bdb72061b9e93b924744c1c63760c21c7dd018199267ca5e9e6d84e551aa6b668a448d2c2bf0ad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.256
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: 服务类型
@@ -1142,14 +1178,17 @@ module TencentCloud
1142
1178
  # @type StructureResult: String
1143
1179
  # @param SubTaskId: 子任务ID
1144
1180
  # @type SubTaskId: String
1181
+ # @param TaskFiles: 任务文件列表
1182
+ # @type TaskFiles: Array
1145
1183
 
1146
- attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId
1184
+ attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId, :TaskFiles
1147
1185
 
1148
- def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil)
1186
+ def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil, taskfiles=nil)
1149
1187
  @Code = code
1150
1188
  @TaskType = tasktype
1151
1189
  @StructureResult = structureresult
1152
1190
  @SubTaskId = subtaskid
1191
+ @TaskFiles = taskfiles
1153
1192
  end
1154
1193
 
1155
1194
  def deserialize(params)
@@ -1157,6 +1196,7 @@ module TencentCloud
1157
1196
  @TaskType = params['TaskType']
1158
1197
  @StructureResult = params['StructureResult']
1159
1198
  @SubTaskId = params['SubTaskId']
1199
+ @TaskFiles = params['TaskFiles']
1160
1200
  end
1161
1201
  end
1162
1202
 
@@ -1192,19 +1232,54 @@ module TencentCloud
1192
1232
  # @type Result: String
1193
1233
  # @param Value: 风险值或者说明
1194
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
1195
1256
 
1196
- attr_accessor :Name, :Result, :Value
1257
+ attr_accessor :Name, :Result, :Value, :Range, :ReportDate, :FileType, :InspectProject, :Unit, :OriginName, :YinYang
1197
1258
 
1198
- 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)
1199
1260
  @Name = name
1200
1261
  @Result = result
1201
1262
  @Value = value
1263
+ @Range = range
1264
+ @ReportDate = reportdate
1265
+ @FileType = filetype
1266
+ @InspectProject = inspectproject
1267
+ @Unit = unit
1268
+ @OriginName = originname
1269
+ @YinYang = yinyang
1202
1270
  end
1203
1271
 
1204
1272
  def deserialize(params)
1205
1273
  @Name = params['Name']
1206
1274
  @Result = params['Result']
1207
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']
1208
1283
  end
1209
1284
  end
1210
1285
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cii
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.256
4
+ version: 1.0.260
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common