Class: TencentCloud::Iotexplorer::V20190423::DescribeTopicPolicyRequest

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

Overview

DescribeTopicPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, topicname = nil) ⇒ DescribeTopicPolicyRequest

Returns a new instance of DescribeTopicPolicyRequest.



7039
7040
7041
7042
# File 'lib/v20190423/models.rb', line 7039

def initialize(productid=nil, topicname=nil)
  @ProductId = productid
  @TopicName = topicname
end

Instance Attribute Details

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • TopicName:

    Topic名字



7037
7038
7039
# File 'lib/v20190423/models.rb', line 7037

def ProductId
  @ProductId
end

#TopicNameObject

Parameters:

  • ProductId:

    产品ID

  • TopicName:

    Topic名字



7037
7038
7039
# File 'lib/v20190423/models.rb', line 7037

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



7044
7045
7046
7047
# File 'lib/v20190423/models.rb', line 7044

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