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.



7051
7052
7053
7054
# File 'lib/v20190423/models.rb', line 7051

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

Instance Attribute Details

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • TopicName:

    Topic名字



7049
7050
7051
# File 'lib/v20190423/models.rb', line 7049

def ProductId
  @ProductId
end

#TopicNameObject

Parameters:

  • ProductId:

    产品ID

  • TopicName:

    Topic名字



7049
7050
7051
# File 'lib/v20190423/models.rb', line 7049

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



7056
7057
7058
7059
# File 'lib/v20190423/models.rb', line 7056

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