tencentcloud-sdk-cii 1.0.257 → 1.0.261

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: daf8f147784c7d48cde97dbe37faedf7a711ec24
4
- data.tar.gz: 261cf464769cb769a2ed33557d5a939371bbfe0a
3
+ metadata.gz: bebc684a764c87050b71887f623700083030fb41
4
+ data.tar.gz: 9f4d83ea37035604b4ef4839768e9e609e082ae8
5
5
  SHA512:
6
- metadata.gz: a65eb458c63cea483f0b9e30753549544ff92ad566369c1ab1aeea4353a8c843069819c4631033266ff137b7970ecbf05d7b7a786c0f4df0a9bcd0b6008c1df1
7
- data.tar.gz: d58220aca330f940cd0186f12369421a1cd4e9c1d2c055955a04962d1a9756aaa7165b2e33d77e695e2cc7efd0bb23c2e02d06ffd8408569d000c3b1408b3666
6
+ metadata.gz: 28c27c8df9157e5b475b720da6270edcb64fc039a6d52c6e2ba857e73e45f5313b33c1f41c74ea44df08406258d55a3dcf5feb70808cdff034e77f769a02a49c
7
+ data.tar.gz: 2a9df981f16aa8a449b3545628885d3c87fa73c14bdfb7afb0d8cdfafd7b9d1f2f29bc71beb0b06f0a06b4ecc1f921cf93d5a970327d0318a7338a70ed75e499
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.257
1
+ 1.0.261
@@ -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.257
4
+ version: 1.0.261
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-16 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common