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.
5974 5975 5976 5977 |
# File 'lib/v20201207/models.rb', line 5974 def initialize(totalcount=nil, gatewaygrouplist=nil) @TotalCount = totalcount @GatewayGroupList = gatewaygrouplist end |
Instance Attribute Details
#GatewayGroupList ⇒ Object
5972 5973 5974 |
# File 'lib/v20201207/models.rb', line 5972 def GatewayGroupList @GatewayGroupList end |
#TotalCount ⇒ Object
5972 5973 5974 |
# File 'lib/v20201207/models.rb', line 5972 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 |
# File 'lib/v20201207/models.rb', line 5979 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 |