Class: TencentCloud::Iotcloud::V20210408::UpdateTopicPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::UpdateTopicPolicyRequest
- Defined in:
- lib/v20210408/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.
4758 4759 4760 4761 4762 4763 4764 |
# File 'lib/v20210408/models.rb', line 4758 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
4756 4757 4758 |
# File 'lib/v20210408/models.rb', line 4756 def BrokerSubscribe @BrokerSubscribe end |
#NewTopicName ⇒ Object
4756 4757 4758 |
# File 'lib/v20210408/models.rb', line 4756 def NewTopicName @NewTopicName end |
#Privilege ⇒ Object
4756 4757 4758 |
# File 'lib/v20210408/models.rb', line 4756 def Privilege @Privilege end |
#ProductId ⇒ Object
4756 4757 4758 |
# File 'lib/v20210408/models.rb', line 4756 def ProductId @ProductId end |
#TopicName ⇒ Object
4756 4757 4758 |
# File 'lib/v20210408/models.rb', line 4756 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 |
# File 'lib/v20210408/models.rb', line 4766 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 |