Class: TencentCloud::Cdn::V20180606::ManageClsTopicDomainsRequest

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

Overview

ManageClsTopicDomains请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ManageClsTopicDomainsRequest.



9687
9688
9689
9690
9691
9692
# File 'lib/v20180606/models.rb', line 9687

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

Instance Attribute Details

#ChannelObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • Channel:

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

  • DomainAreaConfigs:

    域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名



9685
9686
9687
# File 'lib/v20180606/models.rb', line 9685

def Channel
  @Channel
end

#DomainAreaConfigsObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • Channel:

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

  • DomainAreaConfigs:

    域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名



9685
9686
9687
# File 'lib/v20180606/models.rb', line 9685

def DomainAreaConfigs
  @DomainAreaConfigs
end

#LogsetIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • Channel:

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

  • DomainAreaConfigs:

    域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名



9685
9686
9687
# File 'lib/v20180606/models.rb', line 9685

def LogsetId
  @LogsetId
end

#TopicIdObject

Parameters:

  • LogsetId:

    日志集ID

  • TopicId:

    日志主题ID

  • Channel:

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

  • DomainAreaConfigs:

    域名区域配置,注意:如果此字段为空,则表示解绑对应主题下的所有域名



9685
9686
9687
# File 'lib/v20180606/models.rb', line 9685

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
# File 'lib/v20180606/models.rb', line 9694

def deserialize(params)
  @LogsetId = params['LogsetId']
  @TopicId = params['TopicId']
  @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