Class: TencentCloud::Teo::V20220901::DescribeMultiPathGatewaysResponse

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

Overview

DescribeMultiPathGateways返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GatewaysObject

Parameters:

  • Gateways:

    网关详情。

  • TotalCount:

    总条数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9616
9617
9618
# File 'lib/v20220901/models.rb', line 9616

def Gateways
  @Gateways
end

#RequestIdObject

Parameters:

  • Gateways:

    网关详情。

  • TotalCount:

    总条数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9616
9617
9618
# File 'lib/v20220901/models.rb', line 9616

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Gateways:

    网关详情。

  • TotalCount:

    总条数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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