Class: TencentCloud::Cdn::V20180606::ExtraLogset

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

Overview

除上海外其他区域日志集和日志主题信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logset = nil, topics = nil) ⇒ ExtraLogset

Returns a new instance of ExtraLogset.



7591
7592
7593
7594
# File 'lib/v20180606/models.rb', line 7591

def initialize(logset=nil, topics=nil)
  @Logset = logset
  @Topics = topics
end

Instance Attribute Details

#LogsetObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



7589
7590
7591
# File 'lib/v20180606/models.rb', line 7589

def Logset
  @Logset
end

#TopicsObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



7589
7590
7591
# File 'lib/v20180606/models.rb', line 7589

def Topics
  @Topics
end

Instance Method Details

#deserialize(params) ⇒ Object



7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
# File 'lib/v20180606/models.rb', line 7596

def deserialize(params)
  unless params['Logset'].nil?
    @Logset = LogSetInfo.new
    @Logset.deserialize(params['Logset'])
  end
  unless params['Topics'].nil?
    @Topics = []
    params['Topics'].each do |i|
      topicinfo_tmp = TopicInfo.new
      topicinfo_tmp.deserialize(i)
      @Topics << topicinfo_tmp
    end
  end
end