Class: TencentCloud::Cdn::V20180606::AddCLSTopicDomainsRequest

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

Overview

AddCLSTopicDomains请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logsetid = nil, topicid = nil, domainareaconfigs = nil, channel = nil) ⇒ AddCLSTopicDomainsRequest

Returns a new instance of AddCLSTopicDomainsRequest.



102
103
104
105
106
107
# File 'lib/v20180606/models.rb', line 102

def initialize(logsetid=nil, topicid=nil, domainareaconfigs=nil, channel=nil)
  @LogsetId = logsetid
  @TopicId = topicid
  @DomainAreaConfigs = domainareaconfigs
  @Channel = channel
end

Instance Attribute Details

#ChannelObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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



100
101
102
# File 'lib/v20180606/models.rb', line 100

def Channel
  @Channel
end

#DomainAreaConfigsObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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



100
101
102
# File 'lib/v20180606/models.rb', line 100

def DomainAreaConfigs
  @DomainAreaConfigs
end

#LogsetIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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



100
101
102
# File 'lib/v20180606/models.rb', line 100

def LogsetId
  @LogsetId
end

#TopicIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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



100
101
102
# File 'lib/v20180606/models.rb', line 100

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/v20180606/models.rb', line 109

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