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, inheritdomaintags = nil) ⇒ AddCLSTopicDomainsRequest

Returns a new instance of AddCLSTopicDomainsRequest.



104
105
106
107
108
109
110
# File 'lib/v20180606/models.rb', line 104

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

Instance Attribute Details

#ChannelObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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

  • InheritDomainTags:

    是否继承域名标签, 默认保留上一次更改的值



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

def Channel
  @Channel
end

#DomainAreaConfigsObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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

  • InheritDomainTags:

    是否继承域名标签, 默认保留上一次更改的值



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

def DomainAreaConfigs
  @DomainAreaConfigs
end

#InheritDomainTagsObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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

  • InheritDomainTags:

    是否继承域名标签, 默认保留上一次更改的值



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

def InheritDomainTags
  @InheritDomainTags
end

#LogsetIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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

  • InheritDomainTags:

    是否继承域名标签, 默认保留上一次更改的值



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

def LogsetId
  @LogsetId
end

#TopicIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • DomainAreaConfigs:

    域名区域配置

  • Channel:

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

  • InheritDomainTags:

    是否继承域名标签, 默认保留上一次更改的值



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

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



112
113
114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/v20180606/models.rb', line 112

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']
  @InheritDomainTags = params['InheritDomainTags']
end