Class: TencentCloud::Iotcloud::V20180614::BrokerSubscribe
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::BrokerSubscribe
- Defined in:
- lib/v20180614/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.
204 205 206 207 |
# File 'lib/v20180614/models.rb', line 204 def initialize(productid=nil, devicename=nil) @ProductId = productid @DeviceName = devicename end |
Instance Attribute Details
#DeviceName ⇒ Object
202 203 204 |
# File 'lib/v20180614/models.rb', line 202 def DeviceName @DeviceName end |
#ProductId ⇒ Object
202 203 204 |
# File 'lib/v20180614/models.rb', line 202 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
209 210 211 212 |
# File 'lib/v20180614/models.rb', line 209 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] end |