Class: TencentCloud::Cdn::V20180606::CreateClsLogTopicRequest

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

Overview

CreateClsLogTopic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil) ⇒ CreateClsLogTopicRequest

Returns a new instance of CreateClsLogTopicRequest.



2851
2852
2853
2854
2855
2856
# File 'lib/v20180606/models.rb', line 2851

def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil)
  @TopicName = topicname
  @LogsetId = logsetid
  @Channel = channel
  @DomainAreaConfigs = domainareaconfigs
end

Instance Attribute Details

#ChannelObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息



2849
2850
2851
# File 'lib/v20180606/models.rb', line 2849

def Channel
  @Channel
end

#DomainAreaConfigsObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息



2849
2850
2851
# File 'lib/v20180606/models.rb', line 2849

def DomainAreaConfigs
  @DomainAreaConfigs
end

#LogsetIdObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息



2849
2850
2851
# File 'lib/v20180606/models.rb', line 2849

def LogsetId
  @LogsetId
end

#TopicNameObject

Parameters:

  • TopicName:

    日志主题名称

  • LogsetId:

    日志集ID

  • Channel:

    接入渠道,cdn或者ecdn,默认值为cdn

  • DomainAreaConfigs:

    域名区域信息



2849
2850
2851
# File 'lib/v20180606/models.rb', line 2849

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
# File 'lib/v20180606/models.rb', line 2858

def deserialize(params)
  @TopicName = params['TopicName']
  @LogsetId = params['LogsetId']
  @Channel = params['Channel']
  unless params['DomainAreaConfigs'].nil?
    @DomainAreaConfigs = []
    params['DomainAreaConfigs'].each do |i|
      domainareaconfig_tmp = DomainAreaConfig.new
      domainareaconfig_tmp.deserialize(i)
      @DomainAreaConfigs << domainareaconfig_tmp
    end
  end
end