Class: TencentCloud::Iotcloud::V20210408::BrokerSubscribe
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::BrokerSubscribe
- Defined in:
- lib/v20210408/models.rb
Overview
代理订阅信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil) ⇒ BrokerSubscribe
constructor
A new instance of BrokerSubscribe.
Constructor Details
#initialize(productid = nil, devicename = nil) ⇒ BrokerSubscribe
Returns a new instance of BrokerSubscribe.
228 229 230 231 |
# File 'lib/v20210408/models.rb', line 228 def initialize(productid=nil, devicename=nil) @ProductId = productid @DeviceName = devicename end |
Instance Attribute Details
#DeviceName ⇒ Object
226 227 228 |
# File 'lib/v20210408/models.rb', line 226 def DeviceName @DeviceName end |
#ProductId ⇒ Object
226 227 228 |
# File 'lib/v20210408/models.rb', line 226 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
233 234 235 236 |
# File 'lib/v20210408/models.rb', line 233 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] end |