tencentcloud-sdk-cii 1.0.332 → 1.0.335

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.
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: 3d65791bc25b96a15c91ee91d6f9718b29b8674a
4
- data.tar.gz: 3a362243d8972fb4dda14dfb7594a0c6b89535bd
3
+ metadata.gz: d505864130e8471f93afbd7577175ec059e2f4a8
4
+ data.tar.gz: f1b816f1c65994e6687179288d95c2c5368b3b25
5
5
  SHA512:
6
- metadata.gz: 45e474edd3d7e9a19a45da1bc0535334b7e2ac31a2c9e10b62a49ea493d75ac35dbae11b885f1751bc7cf7dfb368aec48dfe4f050926028b325819ef221d6f24
7
- data.tar.gz: 3a5ecd0e351955c77832ccd7edf5ace66b79db5ec1575de09c01f511ac2aca0fcff8623c62e78674e72f4d8374e2686a4116f8d57b72ff752a2a015ff45d6e38
6
+ metadata.gz: fa085d4a21e416e4bca9341369572fa779c8456233e38d5dfc54b23bc2b881142cbfcd6e9b82a0a77400233f25b07697da06556ae1830a3fa297afa51874e97f
7
+ data.tar.gz: f2381b7cd8d7805c9e4f75754204dd9c020ad088dab49c6acc9700ce96ab00b7d2a60b754dbacb0965261bc4147cbaa4b50d954fe1d7b70726562e8b84403b5b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.332
1
+ 1.0.335
@@ -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.332
4
+ version: 1.0.335
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common