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.
440 441 442 443 444 |
# File 'lib/v20201229/models.rb', line 440 def initialize(keyword=nil, sublabel=nil, score=nil) @Keyword = keyword @SubLabel = sublabel @Score = score end |
Instance Attribute Details
#Keyword ⇒ Object
438 439 440 |
# File 'lib/v20201229/models.rb', line 438 def Keyword @Keyword end |
#Score ⇒ Object
438 439 440 |
# File 'lib/v20201229/models.rb', line 438 def Score @Score end |
#SubLabel ⇒ Object
438 439 440 |
# File 'lib/v20201229/models.rb', line 438 def SubLabel @SubLabel end |
Instance Method Details
#deserialize(params) ⇒ Object
446 447 448 449 450 |
# File 'lib/v20201229/models.rb', line 446 def deserialize(params) @Keyword = params['Keyword'] @SubLabel = params['SubLabel'] @Score = params['Score'] end |