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.
10418 10419 10420 10421 10422 |
# File 'lib/v20190423/models.rb', line 10418 def initialize(totalcount=nil, firmwares=nil, requestid=nil) @TotalCount = totalcount @Firmwares = firmwares @RequestId = requestid end |
Instance Attribute Details
#Firmwares ⇒ Object
10416 10417 10418 |
# File 'lib/v20190423/models.rb', line 10416 def Firmwares @Firmwares end |
#RequestId ⇒ Object
10416 10417 10418 |
# File 'lib/v20190423/models.rb', line 10416 def RequestId @RequestId end |
#TotalCount ⇒ Object
10416 10417 10418 |
# File 'lib/v20190423/models.rb', line 10416 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 |
# File 'lib/v20190423/models.rb', line 10424 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 |