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.
10385 10386 10387 10388 10389 10390 |
# File 'lib/v20190423/models.rb', line 10385 def initialize(pagenum=nil, pagesize=nil, productid=nil, filters=nil) @PageNum = pagenum @PageSize = pagesize @ProductID = productid @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
10383 10384 10385 |
# File 'lib/v20190423/models.rb', line 10383 def Filters @Filters end |
#PageNum ⇒ Object
10383 10384 10385 |
# File 'lib/v20190423/models.rb', line 10383 def PageNum @PageNum end |
#PageSize ⇒ Object
10383 10384 10385 |
# File 'lib/v20190423/models.rb', line 10383 def PageSize @PageSize end |
#ProductID ⇒ Object
10383 10384 10385 |
# File 'lib/v20190423/models.rb', line 10383 def ProductID @ProductID end |
Instance Method Details
#deserialize(params) ⇒ Object
10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 |
# File 'lib/v20190423/models.rb', line 10392 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 |