Class: TencentCloud::Iotcloud::V20180614::PublishAsDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::PublishAsDeviceRequest
- Defined in:
- lib/v20180614/models.rb
Overview
PublishAsDevice请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, port = nil, payload = nil) ⇒ PublishAsDeviceRequest
constructor
A new instance of PublishAsDeviceRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, port = nil, payload = nil) ⇒ PublishAsDeviceRequest
Returns a new instance of PublishAsDeviceRequest.
3737 3738 3739 3740 3741 3742 |
# File 'lib/v20180614/models.rb', line 3737 def initialize(productid=nil, devicename=nil, port=nil, payload=nil) @ProductId = productid @DeviceName = devicename @Port = port @Payload = payload end |
Instance Attribute Details
#DeviceName ⇒ Object
3735 3736 3737 |
# File 'lib/v20180614/models.rb', line 3735 def DeviceName @DeviceName end |
#Payload ⇒ Object
3735 3736 3737 |
# File 'lib/v20180614/models.rb', line 3735 def Payload @Payload end |
#Port ⇒ Object
3735 3736 3737 |
# File 'lib/v20180614/models.rb', line 3735 def Port @Port end |
#ProductId ⇒ Object
3735 3736 3737 |
# File 'lib/v20180614/models.rb', line 3735 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
3744 3745 3746 3747 3748 3749 |
# File 'lib/v20180614/models.rb', line 3744 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @Port = params['Port'] @Payload = params['Payload'] end |