Class: TencentCloud::Tse::V20201207::DescribeGatewayInstancePortResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGatewayInstancePortResult
- Defined in:
- lib/v20201207/models.rb
Overview
获取云原生API网关实例协议端口列表响应结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, gatewayinstanceportlist = nil) ⇒ DescribeGatewayInstancePortResult
constructor
A new instance of DescribeGatewayInstancePortResult.
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, =nil) @GatewayId = gatewayid @GatewayInstancePortList = end |
Instance Attribute Details
#GatewayId ⇒ Object
5898 5899 5900 |
# File 'lib/v20201207/models.rb', line 5898 def GatewayId @GatewayId end |
#GatewayInstancePortList ⇒ Object
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.new .deserialize(i) @GatewayInstancePortList << end end end |