Class: TencentCloud::Clb::V20180317::DescribeClassicalLBHealthStatusResponse

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

Overview

DescribeClassicalLBHealthStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthlist = nil, requestid = nil) ⇒ DescribeClassicalLBHealthStatusResponse



2635
2636
2637
2638
# File 'lib/v20180317/models.rb', line 2635

def initialize(healthlist=nil, requestid=nil)
  @HealthList = healthlist
  @RequestId = requestid
end

Instance Attribute Details

#HealthListObject



2633
2634
2635
# File 'lib/v20180317/models.rb', line 2633

def HealthList
  @HealthList
end

#RequestIdObject



2633
2634
2635
# File 'lib/v20180317/models.rb', line 2633

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
# File 'lib/v20180317/models.rb', line 2640

def deserialize(params)
  unless params['HealthList'].nil?
    @HealthList = []
    params['HealthList'].each do |i|
      classicalhealth_tmp = ClassicalHealth.new
      classicalhealth_tmp.deserialize(i)
      @HealthList << classicalhealth_tmp
    end
  end
  @RequestId = params['RequestId']
end