Class: TencentCloud::Vm::V20210922::AudioResultDetailTextResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::AudioResultDetailTextResult
- Defined in:
- lib/v20210922/models.rb
Overview
音频ASR文本审核结果
Instance Attribute Summary collapse
-
#HitInfos ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Keywords ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LibId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LibName ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#LibType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
-
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(label = nil, keywords = nil, libid = nil, libname = nil, score = nil, libtype = nil, suggestion = nil, sublabel = nil, hitinfos = nil) ⇒ AudioResultDetailTextResult
constructor
A new instance of AudioResultDetailTextResult.
Constructor Details
#initialize(label = nil, keywords = nil, libid = nil, libname = nil, score = nil, libtype = nil, suggestion = nil, sublabel = nil, hitinfos = nil) ⇒ AudioResultDetailTextResult
Returns a new instance of AudioResultDetailTextResult.
254 255 256 257 258 259 260 261 262 263 264 |
# File 'lib/v20210922/models.rb', line 254 def initialize(label=nil, keywords=nil, libid=nil, libname=nil, score=nil, libtype=nil, suggestion=nil, sublabel=nil, hitinfos=nil) @Label = label @Keywords = keywords @LibId = libid @LibName = libname @Score = score @LibType = libtype @Suggestion = suggestion @SubLabel = sublabel @HitInfos = hitinfos end |
Instance Attribute Details
#HitInfos ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def HitInfos @HitInfos end |
#Keywords ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def Keywords @Keywords end |
#Label ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def Label @Label end |
#LibId ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def LibId @LibId end |
#LibName ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def LibName @LibName end |
#LibType ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def LibType @LibType end |
#Score ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def Score @Score end |
#SubLabel ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def SubLabel @SubLabel end |
#Suggestion ⇒ Object
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
252 253 254 |
# File 'lib/v20210922/models.rb', line 252 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'lib/v20210922/models.rb', line 266 def deserialize(params) @Label = params['Label'] @Keywords = params['Keywords'] @LibId = params['LibId'] @LibName = params['LibName'] @Score = params['Score'] @LibType = params['LibType'] @Suggestion = params['Suggestion'] @SubLabel = params['SubLabel'] unless params['HitInfos'].nil? @HitInfos = [] params['HitInfos'].each do |i| ocrhitinfo_tmp = OcrHitInfo.new ocrhitinfo_tmp.deserialize(i) @HitInfos << ocrhitinfo_tmp end end end |