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
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil) ⇒ CreateClsLogTopicRequest
constructor
A new instance of CreateClsLogTopicRequest.
Constructor Details
#initialize(topicname = nil, logsetid = nil, channel = nil, domainareaconfigs = nil) ⇒ CreateClsLogTopicRequest
Returns a new instance of CreateClsLogTopicRequest.
2172 2173 2174 2175 2176 2177 |
# File 'lib/v20180606/models.rb', line 2172 def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil) @TopicName = topicname @LogsetId = logsetid @Channel = channel @DomainAreaConfigs = domainareaconfigs end |
Instance Attribute Details
#Channel ⇒ Object
2170 2171 2172 |
# File 'lib/v20180606/models.rb', line 2170 def Channel @Channel end |
#DomainAreaConfigs ⇒ Object
2170 2171 2172 |
# File 'lib/v20180606/models.rb', line 2170 def DomainAreaConfigs @DomainAreaConfigs end |
#LogsetId ⇒ Object
2170 2171 2172 |
# File 'lib/v20180606/models.rb', line 2170 def LogsetId @LogsetId end |
#TopicName ⇒ Object
2170 2171 2172 |
# File 'lib/v20180606/models.rb', line 2170 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 |
# File 'lib/v20180606/models.rb', line 2179 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 end |