Class: TencentCloud::Ams::V20201229::TaskLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::TaskLabel
- Defined in:
- lib/v20201229/models.rb
Overview
用于返回审核任务输出的标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(label = nil, suggestion = nil, score = nil, sublabel = nil) ⇒ TaskLabel
constructor
A new instance of TaskLabel.
Constructor Details
#initialize(label = nil, suggestion = nil, score = nil, sublabel = nil) ⇒ TaskLabel
Returns a new instance of TaskLabel.
1319 1320 1321 1322 1323 1324 |
# File 'lib/v20201229/models.rb', line 1319 def initialize(label=nil, suggestion=nil, score=nil, sublabel=nil) @Label = label @Suggestion = suggestion @Score = score @SubLabel = sublabel end |
Instance Attribute Details
#Label ⇒ Object
1317 1318 1319 |
# File 'lib/v20201229/models.rb', line 1317 def Label @Label end |
#Score ⇒ Object
1317 1318 1319 |
# File 'lib/v20201229/models.rb', line 1317 def Score @Score end |
#SubLabel ⇒ Object
1317 1318 1319 |
# File 'lib/v20201229/models.rb', line 1317 def SubLabel @SubLabel end |
#Suggestion ⇒ Object
1317 1318 1319 |
# File 'lib/v20201229/models.rb', line 1317 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
1326 1327 1328 1329 1330 1331 |
# File 'lib/v20201229/models.rb', line 1326 def deserialize(params) @Label = params['Label'] @Suggestion = params['Suggestion'] @Score = params['Score'] @SubLabel = params['SubLabel'] end |