Class: TencentCloud::Iotcloud::V20180614::DescribeDevicesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeDevicesRequest
- Defined in:
- lib/v20180614/models.rb
Overview
DescribeDevices请求参数结构体
Instance Attribute Summary collapse
- #DeviceName ⇒ Object
- #EnableState ⇒ Object
- #FirmwareVersion ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #ProductId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, offset = nil, limit = nil, firmwareversion = nil, devicename = nil, enablestate = nil) ⇒ DescribeDevicesRequest
constructor
A new instance of DescribeDevicesRequest.
Constructor Details
#initialize(productid = nil, offset = nil, limit = nil, firmwareversion = nil, devicename = nil, enablestate = nil) ⇒ DescribeDevicesRequest
Returns a new instance of DescribeDevicesRequest.
1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'lib/v20180614/models.rb', line 1455 def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, devicename=nil, enablestate=nil) @ProductId = productid @Offset = offset @Limit = limit @FirmwareVersion = firmwareversion @DeviceName = devicename @EnableState = enablestate end |
Instance Attribute Details
#DeviceName ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def DeviceName @DeviceName end |
#EnableState ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def EnableState @EnableState end |
#FirmwareVersion ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def FirmwareVersion @FirmwareVersion end |
#Limit ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def Limit @Limit end |
#Offset ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def Offset @Offset end |
#ProductId ⇒ Object
1453 1454 1455 |
# File 'lib/v20180614/models.rb', line 1453 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
1464 1465 1466 1467 1468 1469 1470 1471 |
# File 'lib/v20180614/models.rb', line 1464 def deserialize(params) @ProductId = params['ProductId'] @Offset = params['Offset'] @Limit = params['Limit'] @FirmwareVersion = params['FirmwareVersion'] @DeviceName = params['DeviceName'] @EnableState = params['EnableState'] end |