Class: TencentCloud::Iotcloud::V20180614::UpdateTopicPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::UpdateTopicPolicyRequest
- Defined in:
- lib/v20180614/models.rb
Overview
UpdateTopicPolicy请求参数结构体
Instance Attribute Summary collapse
- #BrokerSubscribe ⇒ Object
- #NewTopicName ⇒ Object
- #Privilege ⇒ Object
- #ProductID ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, topicname = nil, newtopicname = nil, privilege = nil, brokersubscribe = nil) ⇒ UpdateTopicPolicyRequest
constructor
A new instance of UpdateTopicPolicyRequest.
Constructor Details
#initialize(productid = nil, topicname = nil, newtopicname = nil, privilege = nil, brokersubscribe = nil) ⇒ UpdateTopicPolicyRequest
Returns a new instance of UpdateTopicPolicyRequest.
4631 4632 4633 4634 4635 4636 4637 |
# File 'lib/v20180614/models.rb', line 4631 def initialize(productid=nil, topicname=nil, newtopicname=nil, privilege=nil, brokersubscribe=nil) @ProductID = productid @TopicName = topicname @NewTopicName = newtopicname @Privilege = privilege @BrokerSubscribe = brokersubscribe end |
Instance Attribute Details
#BrokerSubscribe ⇒ Object
4629 4630 4631 |
# File 'lib/v20180614/models.rb', line 4629 def BrokerSubscribe @BrokerSubscribe end |
#NewTopicName ⇒ Object
4629 4630 4631 |
# File 'lib/v20180614/models.rb', line 4629 def NewTopicName @NewTopicName end |
#Privilege ⇒ Object
4629 4630 4631 |
# File 'lib/v20180614/models.rb', line 4629 def Privilege @Privilege end |
#ProductID ⇒ Object
4629 4630 4631 |
# File 'lib/v20180614/models.rb', line 4629 def ProductID @ProductID end |
#TopicName ⇒ Object
4629 4630 4631 |
# File 'lib/v20180614/models.rb', line 4629 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 |
# File 'lib/v20180614/models.rb', line 4639 def deserialize(params) @ProductID = params['ProductID'] @TopicName = params['TopicName'] @NewTopicName = params['NewTopicName'] @Privilege = params['Privilege'] unless params['BrokerSubscribe'].nil? @BrokerSubscribe = BrokerSubscribe.new @BrokerSubscribe.deserialize(params['BrokerSubscribe']) end end |