Class: TencentCloud::Mps::V20190612::SearchTaskResult

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

Overview

视频检索的检索结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(score = nil, videoid = nil) ⇒ SearchTaskResult

Returns a new instance of SearchTaskResult.



27651
27652
27653
27654
# File 'lib/v20190612/models.rb', line 27651

def initialize(score=nil, videoid=nil)
  @Score = score
  @VideoId = videoid
end

Instance Attribute Details

#ScoreObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Score:

    视频在本次检索中的得分,得分越高和检索值越相似,取值范围[0,1]

  • VideoId:

    检索获得的视频ID



27649
27650
27651
# File 'lib/v20190612/models.rb', line 27649

def Score
  @Score
end

#VideoIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Score:

    视频在本次检索中的得分,得分越高和检索值越相似,取值范围[0,1]

  • VideoId:

    检索获得的视频ID



27649
27650
27651
# File 'lib/v20190612/models.rb', line 27649

def VideoId
  @VideoId
end

Instance Method Details

#deserialize(params) ⇒ Object



27656
27657
27658
27659
# File 'lib/v20190612/models.rb', line 27656

def deserialize(params)
  @Score = params['Score']
  @VideoId = params['VideoId']
end