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.



16662
16663
16664
16665
# File 'lib/v20180717/models.rb', line 16662

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

Instance Attribute Details

#ConfidenceObject

Parameters:

  • Tag:

    标签名称。

  • Confidence:

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



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

def Confidence
  @Confidence
end

#TagObject

Parameters:

  • Tag:

    标签名称。

  • Confidence:

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



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

def Tag
  @Tag
end

Instance Method Details

#deserialize(params) ⇒ Object



16667
16668
16669
16670
# File 'lib/v20180717/models.rb', line 16667

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