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
- #Channel ⇒ Object
- #DomainAreaConfigs ⇒ Object
- #InheritDomainTags ⇒ Object
- #LogsetId ⇒ Object
- #TopicId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(logsetid = nil, topicid = nil, domainareaconfigs = nil, channel = nil, inheritdomaintags = nil) ⇒ AddCLSTopicDomainsRequest
constructor
A new instance of AddCLSTopicDomainsRequest.
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, =nil) @LogsetId = logsetid @TopicId = topicid @DomainAreaConfigs = domainareaconfigs @Channel = channel @InheritDomainTags = end |
Instance Attribute Details
#Channel ⇒ Object
102 103 104 |
# File 'lib/v20180606/models.rb', line 102 def Channel @Channel end |
#DomainAreaConfigs ⇒ Object
102 103 104 |
# File 'lib/v20180606/models.rb', line 102 def DomainAreaConfigs @DomainAreaConfigs end |
#InheritDomainTags ⇒ Object
102 103 104 |
# File 'lib/v20180606/models.rb', line 102 def InheritDomainTags @InheritDomainTags end |
#LogsetId ⇒ Object
102 103 104 |
# File 'lib/v20180606/models.rb', line 102 def LogsetId @LogsetId end |
#TopicId ⇒ Object
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 |