Class: TencentCloud::Cdn::V20180606::CreateClsLogTopicRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::CreateClsLogTopicRequest
- Defined in:
- lib/v20180606/models.rb
Overview
CreateClsLogTopic请求参数结构体
Instance Attribute Summary collapse
- #Channel ⇒ Object
- #DomainAreaConfigs ⇒ Object
- #InheritDomainTags ⇒ Object
- #LogsetId ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil, inheritdomaintags = nil) ⇒ CreateClsLogTopicRequest
constructor
A new instance of CreateClsLogTopicRequest.
Constructor Details
#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil, inheritdomaintags = nil) ⇒ CreateClsLogTopicRequest
Returns a new instance of CreateClsLogTopicRequest.
2156 2157 2158 2159 2160 2161 2162 |
# File 'lib/v20180606/models.rb', line 2156 def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil, =nil) @TopicName = topicname @LogsetId = logsetid @Channel = channel @DomainAreaConfigs = domainareaconfigs @InheritDomainTags = end |
Instance Attribute Details
#Channel ⇒ Object
2154 2155 2156 |
# File 'lib/v20180606/models.rb', line 2154 def Channel @Channel end |
#DomainAreaConfigs ⇒ Object
2154 2155 2156 |
# File 'lib/v20180606/models.rb', line 2154 def DomainAreaConfigs @DomainAreaConfigs end |
#InheritDomainTags ⇒ Object
2154 2155 2156 |
# File 'lib/v20180606/models.rb', line 2154 def InheritDomainTags @InheritDomainTags end |
#LogsetId ⇒ Object
2154 2155 2156 |
# File 'lib/v20180606/models.rb', line 2154 def LogsetId @LogsetId end |
#TopicName ⇒ Object
2154 2155 2156 |
# File 'lib/v20180606/models.rb', line 2154 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 |
# File 'lib/v20180606/models.rb', line 2164 def deserialize(params) @TopicName = params['TopicName'] @LogsetId = params['LogsetId'] @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 @InheritDomainTags = params['InheritDomainTags'] end |