Class: TencentCloud::Iotexplorer::V20190423::ModifyTopicPolicyRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190423/models.rb

Overview

ModifyTopicPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, topicname = nil, newtopicname = nil, privilege = nil) ⇒ ModifyTopicPolicyRequest



11671
11672
11673
11674
11675
11676
# File 'lib/v20190423/models.rb', line 11671

def initialize(productid=nil, topicname=nil, newtopicname=nil, privilege=nil)
  @ProductId = productid
  @TopicName = topicname
  @NewTopicName = newtopicname
  @Privilege = privilege
end

Instance Attribute Details

#NewTopicNameObject



11669
11670
11671
# File 'lib/v20190423/models.rb', line 11669

def NewTopicName
  @NewTopicName
end

#PrivilegeObject



11669
11670
11671
# File 'lib/v20190423/models.rb', line 11669

def Privilege
  @Privilege
end

#ProductIdObject



11669
11670
11671
# File 'lib/v20190423/models.rb', line 11669

def ProductId
  @ProductId
end

#TopicNameObject



11669
11670
11671
# File 'lib/v20190423/models.rb', line 11669

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



11678
11679
11680
11681
11682
11683
# File 'lib/v20190423/models.rb', line 11678

def deserialize(params)
  @ProductId = params['ProductId']
  @TopicName = params['TopicName']
  @NewTopicName = params['NewTopicName']
  @Privilege = params['Privilege']
end