Class: TencentCloud::Teo::V20220901::DescribeMultiPathGatewaysResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeMultiPathGatewaysResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribeMultiPathGateways返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gateways = nil, totalcount = nil, requestid = nil) ⇒ DescribeMultiPathGatewaysResponse
constructor
A new instance of DescribeMultiPathGatewaysResponse.
Constructor Details
#initialize(gateways = nil, totalcount = nil, requestid = nil) ⇒ DescribeMultiPathGatewaysResponse
Returns a new instance of DescribeMultiPathGatewaysResponse.
9618 9619 9620 9621 9622 |
# File 'lib/v20220901/models.rb', line 9618 def initialize(gateways=nil, totalcount=nil, requestid=nil) @Gateways = gateways @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Gateways ⇒ Object
9616 9617 9618 |
# File 'lib/v20220901/models.rb', line 9616 def Gateways @Gateways end |
#RequestId ⇒ Object
9616 9617 9618 |
# File 'lib/v20220901/models.rb', line 9616 def RequestId @RequestId end |
#TotalCount ⇒ Object
9616 9617 9618 |
# File 'lib/v20220901/models.rb', line 9616 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 |
# File 'lib/v20220901/models.rb', line 9624 def deserialize(params) unless params['Gateways'].nil? @Gateways = [] params['Gateways'].each do |i| multipathgateway_tmp = MultiPathGateway.new multipathgateway_tmp.deserialize(i) @Gateways << multipathgateway_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |