Class: TencentCloud::Tse::V20201207::GatewayServices
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::GatewayServices
- Defined in:
- lib/v20201207/models.rb
Overview
轻量查询网关服务列表出参
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(servicelist = nil, totalcount = nil) ⇒ GatewayServices
constructor
A new instance of GatewayServices.
Constructor Details
#initialize(servicelist = nil, totalcount = nil) ⇒ GatewayServices
Returns a new instance of GatewayServices.
7750 7751 7752 7753 |
# File 'lib/v20201207/models.rb', line 7750 def initialize(servicelist=nil, totalcount=nil) @ServiceList = servicelist @TotalCount = totalcount end |
Instance Attribute Details
#ServiceList ⇒ Object
7748 7749 7750 |
# File 'lib/v20201207/models.rb', line 7748 def ServiceList @ServiceList end |
#TotalCount ⇒ Object
7748 7749 7750 |
# File 'lib/v20201207/models.rb', line 7748 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 |
# File 'lib/v20201207/models.rb', line 7755 def deserialize(params) unless params['ServiceList'].nil? @ServiceList = [] params['ServiceList'].each do |i| kongservicelightpreview_tmp = KongServiceLightPreview.new kongservicelightpreview_tmp.deserialize(i) @ServiceList << kongservicelightpreview_tmp end end @TotalCount = params['TotalCount'] end |