Class: TencentCloud::Tms::V20201229::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tms::V20201229::Tag
- Defined in:
- lib/v20201229/models.rb
Overview
该字段用于返回审核结果明细字段的标签及分数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyword = nil, sublabel = nil, score = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(keyword = nil, sublabel = nil, score = nil) ⇒ Tag
Returns a new instance of Tag.
444 445 446 447 448 |
# File 'lib/v20201229/models.rb', line 444 def initialize(keyword=nil, sublabel=nil, score=nil) @Keyword = keyword @SubLabel = sublabel @Score = score end |
Instance Attribute Details
#Keyword ⇒ Object
442 443 444 |
# File 'lib/v20201229/models.rb', line 442 def Keyword @Keyword end |
#Score ⇒ Object
442 443 444 |
# File 'lib/v20201229/models.rb', line 442 def Score @Score end |
#SubLabel ⇒ Object
442 443 444 |
# File 'lib/v20201229/models.rb', line 442 def SubLabel @SubLabel end |
Instance Method Details
#deserialize(params) ⇒ Object
450 451 452 453 454 |
# File 'lib/v20201229/models.rb', line 450 def deserialize(params) @Keyword = params['Keyword'] @SubLabel = params['SubLabel'] @Score = params['Score'] end |