Class: TencentCloud::Apigateway::V20180808::AttachedPluginSummary

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, pluginsummary = nil) ⇒ AttachedPluginSummary

Returns a new instance of AttachedPluginSummary.



1261
1262
1263
1264
# File 'lib/v20180808/models.rb', line 1261

def initialize(totalcount=nil, pluginsummary=nil)
  @TotalCount = totalcount
  @PluginSummary = pluginsummary
end

Instance Attribute Details

#PluginSummaryObject

Parameters:

  • TotalCount:

    已绑定的插件总数。

  • PluginSummary:

    已绑定的插件信息。



1259
1260
1261
# File 'lib/v20180808/models.rb', line 1259

def PluginSummary
  @PluginSummary
end

#TotalCountObject

Parameters:

  • TotalCount:

    已绑定的插件总数。

  • PluginSummary:

    已绑定的插件信息。



1259
1260
1261
# File 'lib/v20180808/models.rb', line 1259

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'lib/v20180808/models.rb', line 1266

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['PluginSummary'].nil?
    @PluginSummary = []
    params['PluginSummary'].each do |i|
      attachedplugininfo_tmp = AttachedPluginInfo.new
      attachedplugininfo_tmp.deserialize(i)
      @PluginSummary << attachedplugininfo_tmp
    end
  end
end