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.
2964 2965 2966 2967 2968 |
# File 'lib/v20190423/models.rb', line 2964 def initialize(productid=nil, topicname=nil, privilege=nil) @ProductId = productid @TopicName = topicname @Privilege = privilege end |
Instance Attribute Details
#Privilege ⇒ Object
2962 2963 2964 |
# File 'lib/v20190423/models.rb', line 2962 def Privilege @Privilege end |
#ProductId ⇒ Object
2962 2963 2964 |
# File 'lib/v20190423/models.rb', line 2962 def ProductId @ProductId end |
#TopicName ⇒ Object
2962 2963 2964 |
# File 'lib/v20190423/models.rb', line 2962 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2970 2971 2972 2973 2974 |
# File 'lib/v20190423/models.rb', line 2970 def deserialize(params) @ProductId = params['ProductId'] @TopicName = params['TopicName'] @Privilege = params['Privilege'] end |