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.



5879
5880
5881
5882
# File 'lib/v20201207/models.rb', line 5879

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

Instance Attribute Details

#GatewayIdObject

Parameters:

  • GatewayId:

    云原生API网关ID

  • GatewayInstancePortList:

    网关实例协议端口列表



5877
5878
5879
# File 'lib/v20201207/models.rb', line 5877

def GatewayId
  @GatewayId
end

#GatewayInstancePortListObject

Parameters:

  • GatewayId:

    云原生API网关ID

  • GatewayInstancePortList:

    网关实例协议端口列表



5877
5878
5879
# File 'lib/v20201207/models.rb', line 5877

def GatewayInstancePortList
  @GatewayInstancePortList
end

Instance Method Details

#deserialize(params) ⇒ Object



5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
# File 'lib/v20201207/models.rb', line 5884

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