Class: TencentCloud::Iotcloud::V20210408::ListFirmwaresResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::ListFirmwaresResponse
- Defined in:
- lib/v20210408/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.
3206 3207 3208 3209 3210 |
# File 'lib/v20210408/models.rb', line 3206 def initialize(totalcount=nil, firmwares=nil, requestid=nil) @TotalCount = totalcount @Firmwares = firmwares @RequestId = requestid end |
Instance Attribute Details
#Firmwares ⇒ Object
3204 3205 3206 |
# File 'lib/v20210408/models.rb', line 3204 def Firmwares @Firmwares end |
#RequestId ⇒ Object
3204 3205 3206 |
# File 'lib/v20210408/models.rb', line 3204 def RequestId @RequestId end |
#TotalCount ⇒ Object
3204 3205 3206 |
# File 'lib/v20210408/models.rb', line 3204 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 |
# File 'lib/v20210408/models.rb', line 3212 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 |