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.
2851 2852 2853 2854 2855 2856 |
# File 'lib/v20180606/models.rb', line 2851 def initialize(topicname=nil, logsetid=nil, channel=nil, domainareaconfigs=nil) @TopicName = topicname @LogsetId = logsetid @Channel = channel @DomainAreaConfigs = domainareaconfigs end |
Instance Attribute Details
#Channel ⇒ Object
2849 2850 2851 |
# File 'lib/v20180606/models.rb', line 2849 def Channel @Channel end |
#DomainAreaConfigs ⇒ Object
2849 2850 2851 |
# File 'lib/v20180606/models.rb', line 2849 def DomainAreaConfigs @DomainAreaConfigs end |
#LogsetId ⇒ Object
2849 2850 2851 |
# File 'lib/v20180606/models.rb', line 2849 def LogsetId @LogsetId end |
#TopicName ⇒ Object
2849 2850 2851 |
# File 'lib/v20180606/models.rb', line 2849 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 |
# File 'lib/v20180606/models.rb', line 2858 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 |