Class: TencentCloud::Mps::V20190612::LiveAiAnalysisDescriptionItem

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

Overview

直播摘要结果信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paragraphs = nil) ⇒ LiveAiAnalysisDescriptionItem

Returns a new instance of LiveAiAnalysisDescriptionItem.



18482
18483
18484
# File 'lib/v20190612/models.rb', line 18482

def initialize(paragraphs=nil)
  @Paragraphs = paragraphs
end

Instance Attribute Details

#ParagraphsObject

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

Parameters:

  • 分段结果。



18480
18481
18482
# File 'lib/v20190612/models.rb', line 18480

def Paragraphs
  @Paragraphs
end

Instance Method Details

#deserialize(params) ⇒ Object



18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
# File 'lib/v20190612/models.rb', line 18486

def deserialize(params)
  unless params['Paragraphs'].nil?
    @Paragraphs = []
    params['Paragraphs'].each do |i|
      liveaiparagraphinfo_tmp = LiveAiParagraphInfo.new
      liveaiparagraphinfo_tmp.deserialize(i)
      @Paragraphs << liveaiparagraphinfo_tmp
    end
  end
end