Class: TencentCloud::Vod::V20180717::MediaAiAnalysisTagItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

智能标签结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag = nil, confidence = nil) ⇒ MediaAiAnalysisTagItem

Returns a new instance of MediaAiAnalysisTagItem.



16660
16661
16662
16663
# File 'lib/v20180717/models.rb', line 16660

def initialize(tag=nil, confidence=nil)
  @Tag = tag
  @Confidence = confidence
end

Instance Attribute Details

#ConfidenceObject

Parameters:

  • Tag:

    标签名称。

  • Confidence:

    标签的可信度,取值范围是 0 到 100。



16658
16659
16660
# File 'lib/v20180717/models.rb', line 16658

def Confidence
  @Confidence
end

#TagObject

Parameters:

  • Tag:

    标签名称。

  • Confidence:

    标签的可信度,取值范围是 0 到 100。



16658
16659
16660
# File 'lib/v20180717/models.rb', line 16658

def Tag
  @Tag
end

Instance Method Details

#deserialize(params) ⇒ Object



16665
16666
16667
16668
# File 'lib/v20180717/models.rb', line 16665

def deserialize(params)
  @Tag = params['Tag']
  @Confidence = params['Confidence']
end