Class: TencentCloud::Mps::V20190612::MediaAiAnalysisDescriptionItem

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

Overview

智能描述信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description = nil, confidence = nil, title = nil, keywords = nil, paragraphs = nil, mindmapurl = nil, mindmappath = nil, subtitlepath = nil, outputstorage = nil) ⇒ MediaAiAnalysisDescriptionItem

Returns a new instance of MediaAiAnalysisDescriptionItem.



20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
# File 'lib/v20190612/models.rb', line 20025

def initialize(description=nil, confidence=nil, title=nil, keywords=nil, paragraphs=nil, mindmapurl=nil, mindmappath=nil, subtitlepath=nil, outputstorage=nil)
  @Description = description
  @Confidence = confidence
  @Title = title
  @Keywords = keywords
  @Paragraphs = paragraphs
  @MindMapUrl = mindmapurl
  @MindMapPath = mindmappath
  @SubtitlePath = subtitlepath
  @OutputStorage = outputstorage
end

Instance Attribute Details

#ConfidenceObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def Confidence
  @Confidence
end

#DescriptionObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def Description
  @Description
end

#KeywordsObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def Keywords
  @Keywords
end

#MindMapPathObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def MindMapPath
  @MindMapPath
end

#MindMapUrlObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def MindMapUrl
  @MindMapUrl
end

#OutputStorageObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def OutputStorage
  @OutputStorage
end

#ParagraphsObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def Paragraphs
  @Paragraphs
end

#SubtitlePathObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def SubtitlePath
  @SubtitlePath
end

#TitleObject

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

Parameters:

  • Description:

    智能描述。

  • Confidence:

    智能描述的可信度,取值范围是 0 到 100。

  • Title:

    智能描述标题

  • Keywords:

    智能描述关键词

  • Paragraphs:

    分段结果。

  • MindMapUrl:

    摘要思维导图地址

  • MindMapPath:

    摘要思维导图路径。

  • SubtitlePath:

    视频字幕文件路径。

  • OutputStorage:

    摘要文件存储位置。



20023
20024
20025
# File 'lib/v20190612/models.rb', line 20023

def Title
  @Title
end

Instance Method Details

#deserialize(params) ⇒ Object



20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
# File 'lib/v20190612/models.rb', line 20037

def deserialize(params)
  @Description = params['Description']
  @Confidence = params['Confidence']
  @Title = params['Title']
  @Keywords = params['Keywords']
  unless params['Paragraphs'].nil?
    @Paragraphs = []
    params['Paragraphs'].each do |i|
      aiparagraphinfo_tmp = AiParagraphInfo.new
      aiparagraphinfo_tmp.deserialize(i)
      @Paragraphs << aiparagraphinfo_tmp
    end
  end
  @MindMapUrl = params['MindMapUrl']
  @MindMapPath = params['MindMapPath']
  @SubtitlePath = params['SubtitlePath']
  unless params['OutputStorage'].nil?
    @OutputStorage = TaskOutputStorage.new
    @OutputStorage.deserialize(params['OutputStorage'])
  end
end