Class: TencentCloud::Apigateway::V20180808::CreateApiRspSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::CreateApiRspSet
- Defined in:
- lib/v20180808/models.rb
Overview
CreateApiRsp 返回加TotalCount
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, apiset = nil) ⇒ CreateApiRspSet
constructor
A new instance of CreateApiRspSet.
Constructor Details
#initialize(totalcount = nil, apiset = nil) ⇒ CreateApiRspSet
2323 2324 2325 2326 |
# File 'lib/v20180808/models.rb', line 2323 def initialize(totalcount=nil, apiset=nil) @TotalCount = totalcount @ApiSet = apiset end |
Instance Attribute Details
#ApiSet ⇒ Object
2321 2322 2323 |
# File 'lib/v20180808/models.rb', line 2321 def ApiSet @ApiSet end |
#TotalCount ⇒ Object
2321 2322 2323 |
# File 'lib/v20180808/models.rb', line 2321 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 |
# File 'lib/v20180808/models.rb', line 2328 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ApiSet'].nil? @ApiSet = [] params['ApiSet'].each do |i| createapirsp_tmp = CreateApiRsp.new createapirsp_tmp.deserialize(i) @ApiSet << createapirsp_tmp end end end |