Class: TencentCloud::Tse::V20201207::NativeGatewayServerGroups

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201207/models.rb

Overview

网关分组列表

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GatewayGroupListObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



10797
10798
10799
# File 'lib/v20201207/models.rb', line 10797

def GatewayGroupList
  @GatewayGroupList
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



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