Class: TencentCloud::Apigateway::V20180808::AttachedApiSummary
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::AttachedApiSummary
- Defined in:
- lib/v20180808/models.rb
Overview
插件绑定的API列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, attachedapis = nil) ⇒ AttachedApiSummary
constructor
A new instance of AttachedApiSummary.
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
#AttachedApis ⇒ Object
1192 1193 1194 |
# File 'lib/v20180808/models.rb', line 1192 def AttachedApis @AttachedApis end |
#TotalCount ⇒ Object
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 |