Class: TencentCloud::Iotexplorer::V20190423::ListOtaModulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::ListOtaModulesResponse
- Defined in:
- lib/v20190423/models.rb
Overview
ListOtaModules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, modules = nil, requestid = nil) ⇒ ListOtaModulesResponse
constructor
A new instance of ListOtaModulesResponse.
Constructor Details
#initialize(totalcount = nil, modules = nil, requestid = nil) ⇒ ListOtaModulesResponse
Returns a new instance of ListOtaModulesResponse.
10464 10465 10466 10467 10468 |
# File 'lib/v20190423/models.rb', line 10464 def initialize(totalcount=nil, modules=nil, requestid=nil) @TotalCount = totalcount @Modules = modules @RequestId = requestid end |
Instance Attribute Details
#Modules ⇒ Object
10462 10463 10464 |
# File 'lib/v20190423/models.rb', line 10462 def Modules @Modules end |
#RequestId ⇒ Object
10462 10463 10464 |
# File 'lib/v20190423/models.rb', line 10462 def RequestId @RequestId end |
#TotalCount ⇒ Object
10462 10463 10464 |
# File 'lib/v20190423/models.rb', line 10462 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 |
# File 'lib/v20190423/models.rb', line 10470 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Modules'].nil? @Modules = [] params['Modules'].each do |i| otamoduleinfo_tmp = OtaModuleInfo.new otamoduleinfo_tmp.deserialize(i) @Modules << otamoduleinfo_tmp end end @RequestId = params['RequestId'] end |