Class: TencentCloud::Iotexplorer::V20190423::ListFirmwaresResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::ListFirmwaresResponse
- Defined in:
- lib/v20190423/models.rb
Overview
ListFirmwares返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, firmwares = nil, requestid = nil) ⇒ ListFirmwaresResponse
constructor
A new instance of ListFirmwaresResponse.
Constructor Details
#initialize(totalcount = nil, firmwares = nil, requestid = nil) ⇒ ListFirmwaresResponse
Returns a new instance of ListFirmwaresResponse.
10402 10403 10404 10405 10406 |
# File 'lib/v20190423/models.rb', line 10402 def initialize(totalcount=nil, firmwares=nil, requestid=nil) @TotalCount = totalcount @Firmwares = firmwares @RequestId = requestid end |
Instance Attribute Details
#Firmwares ⇒ Object
10400 10401 10402 |
# File 'lib/v20190423/models.rb', line 10400 def Firmwares @Firmwares end |
#RequestId ⇒ Object
10400 10401 10402 |
# File 'lib/v20190423/models.rb', line 10400 def RequestId @RequestId end |
#TotalCount ⇒ Object
10400 10401 10402 |
# File 'lib/v20190423/models.rb', line 10400 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 |
# File 'lib/v20190423/models.rb', line 10408 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Firmwares'].nil? @Firmwares = [] params['Firmwares'].each do |i| firmwareinfo_tmp = FirmwareInfo.new firmwareinfo_tmp.deserialize(i) @Firmwares << firmwareinfo_tmp end end @RequestId = params['RequestId'] end |