Class: TencentCloud::Tse::V20201207::NativeGatewayServerGroups
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::NativeGatewayServerGroups
- Defined in:
- lib/v20201207/models.rb
Overview
网关分组列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, gatewaygrouplist = nil) ⇒ NativeGatewayServerGroups
constructor
A new instance of NativeGatewayServerGroups.
Constructor Details
#initialize(totalcount = nil, gatewaygrouplist = nil) ⇒ NativeGatewayServerGroups
Returns a new instance of NativeGatewayServerGroups.
10799 10800 10801 10802 |
# File 'lib/v20201207/models.rb', line 10799 def initialize(totalcount=nil, gatewaygrouplist=nil) @TotalCount = totalcount @GatewayGroupList = gatewaygrouplist end |
Instance Attribute Details
#GatewayGroupList ⇒ Object
10797 10798 10799 |
# File 'lib/v20201207/models.rb', line 10797 def GatewayGroupList @GatewayGroupList end |
#TotalCount ⇒ Object
10797 10798 10799 |
# File 'lib/v20201207/models.rb', line 10797 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 |
# File 'lib/v20201207/models.rb', line 10804 def deserialize(params) @TotalCount = params['TotalCount'] unless params['GatewayGroupList'].nil? @GatewayGroupList = [] params['GatewayGroupList'].each do |i| nativegatewayservergroup_tmp = NativeGatewayServerGroup.new nativegatewayservergroup_tmp.deserialize(i) @GatewayGroupList << nativegatewayservergroup_tmp end end end |