Class: TencentCloud::Iotexplorer::V20190423::GetDeviceListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetDeviceListRequest
- Defined in:
- lib/v20190423/models.rb
Overview
GetDeviceList请求参数结构体
Instance Attribute Summary collapse
- #DeviceName ⇒ Object
- #Filters ⇒ Object
- #FirmwareVersion ⇒ Object
- #FwType ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #ProductId ⇒ Object
- #ProjectId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, offset = nil, limit = nil, firmwareversion = nil, fwtype = nil, devicename = nil, projectid = nil, filters = nil) ⇒ GetDeviceListRequest
constructor
A new instance of GetDeviceListRequest.
Constructor Details
#initialize(productid = nil, offset = nil, limit = nil, firmwareversion = nil, fwtype = nil, devicename = nil, projectid = nil, filters = nil) ⇒ GetDeviceListRequest
Returns a new instance of GetDeviceListRequest.
8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 |
# File 'lib/v20190423/models.rb', line 8462 def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, fwtype=nil, devicename=nil, projectid=nil, filters=nil) @ProductId = productid @Offset = offset @Limit = limit @FirmwareVersion = firmwareversion @FwType = fwtype @DeviceName = devicename @ProjectId = projectid @Filters = filters end |
Instance Attribute Details
#DeviceName ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def DeviceName @DeviceName end |
#Filters ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def Filters @Filters end |
#FirmwareVersion ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def FirmwareVersion @FirmwareVersion end |
#FwType ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def FwType @FwType end |
#Limit ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def Limit @Limit end |
#Offset ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def Offset @Offset end |
#ProductId ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def ProductId @ProductId end |
#ProjectId ⇒ Object
8460 8461 8462 |
# File 'lib/v20190423/models.rb', line 8460 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 |
# File 'lib/v20190423/models.rb', line 8473 def deserialize(params) @ProductId = params['ProductId'] @Offset = params['Offset'] @Limit = params['Limit'] @FirmwareVersion = params['FirmwareVersion'] @FwType = params['FwType'] @DeviceName = params['DeviceName'] @ProjectId = params['ProjectId'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |