Class: TencentCloud::Cdn::V20180606::AddCLSTopicDomainsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::AddCLSTopicDomainsRequest
- Defined in:
- lib/v20180606/models.rb
Overview
AddCLSTopicDomains请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(logsetid = nil, topicid = nil, domainareaconfigs = nil, channel = nil) ⇒ AddCLSTopicDomainsRequest
constructor
A new instance of AddCLSTopicDomainsRequest.
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
#Channel ⇒ Object
100 101 102 |
# File 'lib/v20180606/models.rb', line 100 def Channel @Channel end |
#DomainAreaConfigs ⇒ Object
100 101 102 |
# File 'lib/v20180606/models.rb', line 100 def DomainAreaConfigs @DomainAreaConfigs end |
#LogsetId ⇒ Object
100 101 102 |
# File 'lib/v20180606/models.rb', line 100 def LogsetId @LogsetId end |
#TopicId ⇒ Object
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 |