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.



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

#GatewayGroupListObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



5972
5973
5974
# File 'lib/v20201207/models.rb', line 5972

def GatewayGroupList
  @GatewayGroupList
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • GatewayGroupList:

    分组信息数组。



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