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.



10817
10818
10819
10820
# File 'lib/v20201207/models.rb', line 10817

def initialize(totalcount=nil, gatewaygrouplist=nil)
  @TotalCount = totalcount
  @GatewayGroupList = gatewaygrouplist
end

Instance Attribute Details

#GatewayGroupListObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



10815
10816
10817
# File 'lib/v20201207/models.rb', line 10815

def GatewayGroupList
  @GatewayGroupList
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



10815
10816
10817
# File 'lib/v20201207/models.rb', line 10815

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
# File 'lib/v20201207/models.rb', line 10822

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