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.



7571
7572
7573
7574
# File 'lib/v20180606/models.rb', line 7571

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

Instance Attribute Details

#LogsetObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



7569
7570
7571
# File 'lib/v20180606/models.rb', line 7569

def Logset
  @Logset
end

#TopicsObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



7569
7570
7571
# File 'lib/v20180606/models.rb', line 7569

def Topics
  @Topics
end

Instance Method Details

#deserialize(params) ⇒ Object



7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
# File 'lib/v20180606/models.rb', line 7576

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