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.
7729 7730 7731 7732 |
# File 'lib/v20201207/models.rb', line 7729 def initialize(servicelist=nil, totalcount=nil) @ServiceList = servicelist @TotalCount = totalcount end |
Instance Attribute Details
#ServiceList ⇒ Object
7727 7728 7729 |
# File 'lib/v20201207/models.rb', line 7727 def ServiceList @ServiceList end |
#TotalCount ⇒ Object
7727 7728 7729 |
# File 'lib/v20201207/models.rb', line 7727 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 |
# File 'lib/v20201207/models.rb', line 7734 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 |