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.



5498
5499
5500
5501
# File 'lib/v20180606/models.rb', line 5498

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

Instance Attribute Details

#LogsetObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



5496
5497
5498
# File 'lib/v20180606/models.rb', line 5496

def Logset
  @Logset
end

#TopicsObject

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

Parameters:

  • Logset:

    日志集信息

  • Topics:

    日志主题信息列表



5496
5497
5498
# File 'lib/v20180606/models.rb', line 5496

def Topics
  @Topics
end

Instance Method Details

#deserialize(params) ⇒ Object



5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
# File 'lib/v20180606/models.rb', line 5503

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