Class: TencentCloud::Clb::V20180317::DescribeClassicalLBByInstanceIdResponse

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

Overview

DescribeClassicalLBByInstanceId返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerinfolist = nil, requestid = nil) ⇒ DescribeClassicalLBByInstanceIdResponse

Returns a new instance of DescribeClassicalLBByInstanceIdResponse.



2588
2589
2590
2591
# File 'lib/v20180317/models.rb', line 2588

def initialize(loadbalancerinfolist=nil, requestid=nil)
  @LoadBalancerInfoList = loadbalancerinfolist
  @RequestId = requestid
end

Instance Attribute Details

#LoadBalancerInfoListObject

Parameters:

  • LoadBalancerInfoList:

    负载均衡相关信息列表。

  • RequestId:

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



2586
2587
2588
# File 'lib/v20180317/models.rb', line 2586

def LoadBalancerInfoList
  @LoadBalancerInfoList
end

#RequestIdObject

Parameters:

  • LoadBalancerInfoList:

    负载均衡相关信息列表。

  • RequestId:

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



2586
2587
2588
# File 'lib/v20180317/models.rb', line 2586

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/v20180317/models.rb', line 2593

def deserialize(params)
  unless params['LoadBalancerInfoList'].nil?
    @LoadBalancerInfoList = []
    params['LoadBalancerInfoList'].each do |i|
      classicalloadbalancerinfo_tmp = ClassicalLoadBalancerInfo.new
      classicalloadbalancerinfo_tmp.deserialize(i)
      @LoadBalancerInfoList << classicalloadbalancerinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end