Class: TencentCloud::Iotexplorer::V20190423::ListFirmwaresRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::ListFirmwaresRequest
- Defined in:
- lib/v20190423/models.rb
Overview
ListFirmwares请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenum = nil, pagesize = nil, productid = nil, filters = nil) ⇒ ListFirmwaresRequest
constructor
A new instance of ListFirmwaresRequest.
Constructor Details
#initialize(pagenum = nil, pagesize = nil, productid = nil, filters = nil) ⇒ ListFirmwaresRequest
Returns a new instance of ListFirmwaresRequest.
10369 10370 10371 10372 10373 10374 |
# File 'lib/v20190423/models.rb', line 10369 def initialize(pagenum=nil, pagesize=nil, productid=nil, filters=nil) @PageNum = pagenum @PageSize = pagesize @ProductID = productid @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
10367 10368 10369 |
# File 'lib/v20190423/models.rb', line 10367 def Filters @Filters end |
#PageNum ⇒ Object
10367 10368 10369 |
# File 'lib/v20190423/models.rb', line 10367 def PageNum @PageNum end |
#PageSize ⇒ Object
10367 10368 10369 |
# File 'lib/v20190423/models.rb', line 10367 def PageSize @PageSize end |
#ProductID ⇒ Object
10367 10368 10369 |
# File 'lib/v20190423/models.rb', line 10367 def ProductID @ProductID end |
Instance Method Details
#deserialize(params) ⇒ Object
10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 |
# File 'lib/v20190423/models.rb', line 10376 def deserialize(params) @PageNum = params['PageNum'] @PageSize = params['PageSize'] @ProductID = params['ProductID'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| searchkeyword_tmp = SearchKeyword.new searchkeyword_tmp.deserialize(i) @Filters << searchkeyword_tmp end end end |