Class: TencentCloud::Apigateway::V20180808::ApiAppInfos

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180808/models.rb

Overview

应用信息集

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, apiappset = nil) ⇒ ApiAppInfos

Returns a new instance of ApiAppInfos.



300
301
302
303
# File 'lib/v20180808/models.rb', line 300

def initialize(totalcount=nil, apiappset=nil)
  @TotalCount = totalcount
  @ApiAppSet = apiappset
end

Instance Attribute Details

#ApiAppSetObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    应用数量

  • ApiAppSet:

    应用信息数组



298
299
300
# File 'lib/v20180808/models.rb', line 298

def ApiAppSet
  @ApiAppSet
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    应用数量

  • ApiAppSet:

    应用信息数组



298
299
300
# File 'lib/v20180808/models.rb', line 298

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



305
306
307
308
309
310
311
312
313
314
315
# File 'lib/v20180808/models.rb', line 305

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ApiAppSet'].nil?
    @ApiAppSet = []
    params['ApiAppSet'].each do |i|
      apiappinfo_tmp = ApiAppInfo.new
      apiappinfo_tmp.deserialize(i)
      @ApiAppSet << apiappinfo_tmp
    end
  end
end