Class: TencentCloud::Clb::V20180317::DescribeLoadBalancersResponse

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

Overview

DescribeLoadBalancers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, loadbalancerset = nil, requestid = nil) ⇒ DescribeLoadBalancersResponse

Returns a new instance of DescribeLoadBalancersResponse.



3757
3758
3759
3760
3761
# File 'lib/v20180317/models.rb', line 3757

def initialize(totalcount=nil, loadbalancerset=nil, requestid=nil)
  @TotalCount = totalcount
  @LoadBalancerSet = loadbalancerset
  @RequestId = requestid
end

Instance Attribute Details

#LoadBalancerSetObject

Parameters:

  • TotalCount:

    满足过滤条件的负载均衡实例总数。此数值与入参中的Limit无关。

  • LoadBalancerSet:

    返回的负载均衡实例数组。

  • RequestId:

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



3755
3756
3757
# File 'lib/v20180317/models.rb', line 3755

def LoadBalancerSet
  @LoadBalancerSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    满足过滤条件的负载均衡实例总数。此数值与入参中的Limit无关。

  • LoadBalancerSet:

    返回的负载均衡实例数组。

  • RequestId:

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



3755
3756
3757
# File 'lib/v20180317/models.rb', line 3755

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    满足过滤条件的负载均衡实例总数。此数值与入参中的Limit无关。

  • LoadBalancerSet:

    返回的负载均衡实例数组。

  • RequestId:

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



3755
3756
3757
# File 'lib/v20180317/models.rb', line 3755

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
# File 'lib/v20180317/models.rb', line 3763

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['LoadBalancerSet'].nil?
    @LoadBalancerSet = []
    params['LoadBalancerSet'].each do |i|
      loadbalancer_tmp = LoadBalancer.new
      loadbalancer_tmp.deserialize(i)
      @LoadBalancerSet << loadbalancer_tmp
    end
  end
  @RequestId = params['RequestId']
end