Class: TencentCloud::Apigateway::V20180808::AttachedApiSummary

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

Overview

插件绑定的API列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, attachedapis = nil) ⇒ AttachedApiSummary

Returns a new instance of AttachedApiSummary.



1194
1195
1196
1197
# File 'lib/v20180808/models.rb', line 1194

def initialize(totalcount=nil, attachedapis=nil)
  @TotalCount = totalcount
  @AttachedApis = attachedapis
end

Instance Attribute Details

#AttachedApisObject

Parameters:

  • TotalCount:

    插件绑定的API数量。

  • AttachedApis:

    插件绑定的API信息。



1192
1193
1194
# File 'lib/v20180808/models.rb', line 1192

def AttachedApis
  @AttachedApis
end

#TotalCountObject

Parameters:

  • TotalCount:

    插件绑定的API数量。

  • AttachedApis:

    插件绑定的API信息。



1192
1193
1194
# File 'lib/v20180808/models.rb', line 1192

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
# File 'lib/v20180808/models.rb', line 1199

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['AttachedApis'].nil?
    @AttachedApis = []
    params['AttachedApis'].each do |i|
      attachedapiinfo_tmp = AttachedApiInfo.new
      attachedapiinfo_tmp.deserialize(i)
      @AttachedApis << attachedapiinfo_tmp
    end
  end
end