tencentcloud-sdk-cii 1.0.333 → 1.0.336

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210408/models.rb +92 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5456f81aa882689964f7c3bd4cf23076c87af462
4
- data.tar.gz: 5066e74c0f84856615163dbb0dbdc4bfcb79dbba
3
+ metadata.gz: 7d6d0b4f67a7a15bb686afceeb74ce46db4acde3
4
+ data.tar.gz: 2b110951aa0663c61d9877597dc22c95baf28d09
5
5
  SHA512:
6
- metadata.gz: b083972fc0b3dd03f3a857957d02e296cab474302bf8ecfcb98223fcf927e3ce8f1e143a453f972738800ef13f0803c6b29fd2ea66a35dbf0086f5f6688ef671
7
- data.tar.gz: ebb7b6182f4377e22f4d9ccb89fc51051c8dc5d95c9965edc9238d6bd92f1a68ff48957f69ddd32246d6e3767ca8dec080ed771cea21c5e2c85ff87af7d0b014
6
+ metadata.gz: 55a439cb7065021cb842300d7840aa5aab8e30437c8e46289d9072c889465104c4426a69b03fc156af8d92ede1ed2cc9e0a3377611ca0a57af675fb8cda57eab
7
+ data.tar.gz: 35633263b3041e25db38abb78302bedbd0e114f69a3d5d3760c973b06af8e1e07ed32feeed3208d32c1ff2a13783db05404b28815bac65b7b33a5c42cfbfeb15
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.333
1
+ 1.0.336
@@ -922,6 +922,29 @@ module TencentCloud
922
922
  end
923
923
  end
924
924
 
925
+ # 位置信息
926
+ class Location < TencentCloud::Common::AbstractModel
927
+ # @param Points: 位置信息
928
+ # @type Points: Array
929
+
930
+ attr_accessor :Points
931
+
932
+ def initialize(points=nil)
933
+ @Points = points
934
+ end
935
+
936
+ def deserialize(params)
937
+ unless params['Points'].nil?
938
+ @Points = []
939
+ params['Points'].each do |i|
940
+ point_tmp = Point.new
941
+ point_tmp.deserialize(i)
942
+ @Points << point_tmp
943
+ end
944
+ end
945
+ end
946
+ end
947
+
925
948
  # 机器核保预测结果
926
949
  class MachinePredict < TencentCloud::Common::AbstractModel
927
950
  # @param Title: 核保引擎名称
@@ -1006,6 +1029,37 @@ module TencentCloud
1006
1029
  end
1007
1030
  end
1008
1031
 
1032
+ # Ocr识别结果
1033
+ class OcrRecognise < TencentCloud::Common::AbstractModel
1034
+ # @param OriginalField: 原文字段
1035
+ # @type OriginalField: String
1036
+ # @param Value: 识别结果
1037
+ # @type Value: String
1038
+ # @param Confidence: 置信度
1039
+ # @type Confidence: Float
1040
+ # @param Location: 位置信息
1041
+ # @type Location: :class:`Tencentcloud::Cii.v20210408.models.Location`
1042
+
1043
+ attr_accessor :OriginalField, :Value, :Confidence, :Location
1044
+
1045
+ def initialize(originalfield=nil, value=nil, confidence=nil, location=nil)
1046
+ @OriginalField = originalfield
1047
+ @Value = value
1048
+ @Confidence = confidence
1049
+ @Location = location
1050
+ end
1051
+
1052
+ def deserialize(params)
1053
+ @OriginalField = params['OriginalField']
1054
+ @Value = params['Value']
1055
+ @Confidence = params['Confidence']
1056
+ unless params['Location'].nil?
1057
+ @Location = Location.new
1058
+ @Location.deserialize(params['Location'])
1059
+ end
1060
+ end
1061
+ end
1062
+
1009
1063
  # 复核差异接口的每一份报告的差异结果
1010
1064
  class PerStructDifference < TencentCloud::Common::AbstractModel
1011
1065
  # @param SubTaskId: 子任务ID
@@ -1059,6 +1113,30 @@ module TencentCloud
1059
1113
  end
1060
1114
  end
1061
1115
 
1116
+ # 点信息
1117
+ class Point < TencentCloud::Common::AbstractModel
1118
+ # @param XCoordinate: x坐标
1119
+ # @type XCoordinate: Integer
1120
+ # @param YCoordinate: y坐标
1121
+ # @type YCoordinate: Integer
1122
+ # @param Page: 页码
1123
+ # @type Page: Integer
1124
+
1125
+ attr_accessor :XCoordinate, :YCoordinate, :Page
1126
+
1127
+ def initialize(xcoordinate=nil, ycoordinate=nil, page=nil)
1128
+ @XCoordinate = xcoordinate
1129
+ @YCoordinate = ycoordinate
1130
+ @Page = page
1131
+ end
1132
+
1133
+ def deserialize(params)
1134
+ @XCoordinate = params['XCoordinate']
1135
+ @YCoordinate = params['YCoordinate']
1136
+ @Page = params['Page']
1137
+ end
1138
+ end
1139
+
1062
1140
  # 用于返回结构化任务结果
1063
1141
  class ResultObject < TencentCloud::Common::AbstractModel
1064
1142
  # @param Quality: 图片质量分
@@ -1180,15 +1258,19 @@ module TencentCloud
1180
1258
  # @type SubTaskId: String
1181
1259
  # @param TaskFiles: 任务文件列表
1182
1260
  # @type TaskFiles: Array
1261
+ # @param ResultFields: 结构化字段结果数组
1262
+ # 注意:此字段可能返回 null,表示取不到有效值。
1263
+ # @type ResultFields: Array
1183
1264
 
1184
- attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId, :TaskFiles
1265
+ attr_accessor :Code, :TaskType, :StructureResult, :SubTaskId, :TaskFiles, :ResultFields
1185
1266
 
1186
- def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil, taskfiles=nil)
1267
+ def initialize(code=nil, tasktype=nil, structureresult=nil, subtaskid=nil, taskfiles=nil, resultfields=nil)
1187
1268
  @Code = code
1188
1269
  @TaskType = tasktype
1189
1270
  @StructureResult = structureresult
1190
1271
  @SubTaskId = subtaskid
1191
1272
  @TaskFiles = taskfiles
1273
+ @ResultFields = resultfields
1192
1274
  end
1193
1275
 
1194
1276
  def deserialize(params)
@@ -1197,6 +1279,14 @@ module TencentCloud
1197
1279
  @StructureResult = params['StructureResult']
1198
1280
  @SubTaskId = params['SubTaskId']
1199
1281
  @TaskFiles = params['TaskFiles']
1282
+ unless params['ResultFields'].nil?
1283
+ @ResultFields = []
1284
+ params['ResultFields'].each do |i|
1285
+ ocrrecognise_tmp = OcrRecognise.new
1286
+ ocrrecognise_tmp.deserialize(i)
1287
+ @ResultFields << ocrrecognise_tmp
1288
+ end
1289
+ end
1200
1290
  end
1201
1291
  end
1202
1292
 
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.333
4
+ version: 1.0.336
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-06-14 00:00:00.000000000 Z
11
+ date: 2022-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common