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.
5879 5880 5881 5882 |
# File 'lib/v20201207/models.rb', line 5879 def initialize(gatewayid=nil, =nil) @GatewayId = gatewayid @GatewayInstancePortList = end |
Instance Attribute Details
#GatewayId ⇒ Object
5877 5878 5879 |
# File 'lib/v20201207/models.rb', line 5877 def GatewayId @GatewayId end |
#GatewayInstancePortList ⇒ Object
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.new .deserialize(i) @GatewayInstancePortList << end end end |