Class: TencentCloud::Iotexplorer::V20190423::CreateTopicPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::CreateTopicPolicyRequest
- Defined in:
- lib/v20190423/models.rb
Overview
CreateTopicPolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, topicname = nil, privilege = nil) ⇒ CreateTopicPolicyRequest
constructor
A new instance of CreateTopicPolicyRequest.
Constructor Details
#initialize(productid = nil, topicname = nil, privilege = nil) ⇒ CreateTopicPolicyRequest
Returns a new instance of CreateTopicPolicyRequest.
2952 2953 2954 2955 2956 |
# File 'lib/v20190423/models.rb', line 2952 def initialize(productid=nil, topicname=nil, privilege=nil) @ProductId = productid @TopicName = topicname @Privilege = privilege end |
Instance Attribute Details
#Privilege ⇒ Object
2950 2951 2952 |
# File 'lib/v20190423/models.rb', line 2950 def Privilege @Privilege end |
#ProductId ⇒ Object
2950 2951 2952 |
# File 'lib/v20190423/models.rb', line 2950 def ProductId @ProductId end |
#TopicName ⇒ Object
2950 2951 2952 |
# File 'lib/v20190423/models.rb', line 2950 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2958 2959 2960 2961 2962 |
# File 'lib/v20190423/models.rb', line 2958 def deserialize(params) @ProductId = params['ProductId'] @TopicName = params['TopicName'] @Privilege = params['Privilege'] end |