Class: TencentCloud::Clb::V20180317::DescribeLoadBalancersDetailResponse

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

Overview

DescribeLoadBalancersDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, loadbalancerdetailset = nil, requestid = nil) ⇒ DescribeLoadBalancersDetailResponse

Returns a new instance of DescribeLoadBalancersDetailResponse.



3570
3571
3572
3573
3574
# File 'lib/v20180317/models.rb', line 3570

def initialize(totalcount=nil, loadbalancerdetailset=nil, requestid=nil)
  @TotalCount = totalcount
  @LoadBalancerDetailSet = loadbalancerdetailset
  @RequestId = requestid
end

Instance Attribute Details

#LoadBalancerDetailSetObject

Parameters:

  • TotalCount:

    负载均衡详情列表总数。

  • LoadBalancerDetailSet:

    负载均衡详情列表。

  • RequestId:

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



3568
3569
3570
# File 'lib/v20180317/models.rb', line 3568

def LoadBalancerDetailSet
  @LoadBalancerDetailSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    负载均衡详情列表总数。

  • LoadBalancerDetailSet:

    负载均衡详情列表。

  • RequestId:

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



3568
3569
3570
# File 'lib/v20180317/models.rb', line 3568

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    负载均衡详情列表总数。

  • LoadBalancerDetailSet:

    负载均衡详情列表。

  • RequestId:

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



3568
3569
3570
# File 'lib/v20180317/models.rb', line 3568

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
# File 'lib/v20180317/models.rb', line 3576

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['LoadBalancerDetailSet'].nil?
    @LoadBalancerDetailSet = []
    params['LoadBalancerDetailSet'].each do |i|
      loadbalancerdetail_tmp = LoadBalancerDetail.new
      loadbalancerdetail_tmp.deserialize(i)
      @LoadBalancerDetailSet << loadbalancerdetail_tmp
    end
  end
  @RequestId = params['RequestId']
end