Class: TencentCloud::Tse::V20201207::DescribeGatewayInstancePortResult

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

Overview

获取云原生API网关实例协议端口列表响应结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, gatewayinstanceportlist = nil) ⇒ DescribeGatewayInstancePortResult

Returns a new instance of DescribeGatewayInstancePortResult.



5900
5901
5902
5903
# File 'lib/v20201207/models.rb', line 5900

def initialize(gatewayid=nil, gatewayinstanceportlist=nil)
  @GatewayId = gatewayid
  @GatewayInstancePortList = gatewayinstanceportlist
end

Instance Attribute Details

#GatewayIdObject

Parameters:

  • 云原生API网关ID

  • 网关实例协议端口列表



5898
5899
5900
# File 'lib/v20201207/models.rb', line 5898

def GatewayId
  @GatewayId
end

#GatewayInstancePortListObject

Parameters:

  • 云原生API网关ID

  • 网关实例协议端口列表



5898
5899
5900
# File 'lib/v20201207/models.rb', line 5898

def GatewayInstancePortList
  @GatewayInstancePortList
end

Instance Method Details

#deserialize(params) ⇒ Object



5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
# File 'lib/v20201207/models.rb', line 5905

def deserialize(params)
  @GatewayId = params['GatewayId']
  unless params['GatewayInstancePortList'].nil?
    @GatewayInstancePortList = []
    params['GatewayInstancePortList'].each do |i|
      gatewayinstanceschemeandports_tmp = GatewayInstanceSchemeAndPorts.new
      gatewayinstanceschemeandports_tmp.deserialize(i)
      @GatewayInstancePortList << gatewayinstanceschemeandports_tmp
    end
  end
end