Class: TencentCloud::Iotcloud::V20210408::DescribeDevicesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DescribeDevicesRequest
- Defined in:
- lib/v20210408/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.
1388 1389 1390 1391 1392 1393 1394 1395 |
# File 'lib/v20210408/models.rb', line 1388 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
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def DeviceName @DeviceName end |
#EnableState ⇒ Object
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def EnableState @EnableState end |
#FirmwareVersion ⇒ Object
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def FirmwareVersion @FirmwareVersion end |
#Limit ⇒ Object
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def Limit @Limit end |
#Offset ⇒ Object
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def Offset @Offset end |
#ProductId ⇒ Object
1386 1387 1388 |
# File 'lib/v20210408/models.rb', line 1386 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
1397 1398 1399 1400 1401 1402 1403 1404 |
# File 'lib/v20210408/models.rb', line 1397 def deserialize(params) @ProductId = params['ProductId'] @Offset = params['Offset'] @Limit = params['Limit'] @FirmwareVersion = params['FirmwareVersion'] @DeviceName = params['DeviceName'] @EnableState = params['EnableState'] end |