Class: TencentCloud::Clb::V20180317::DescribeClassicalLBTargetsResponse

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

Overview

DescribeClassicalLBTargets返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targets = nil, requestid = nil) ⇒ DescribeClassicalLBTargetsResponse



2737
2738
2739
2740
# File 'lib/v20180317/models.rb', line 2737

def initialize(targets=nil, requestid=nil)
  @Targets = targets
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



2735
2736
2737
# File 'lib/v20180317/models.rb', line 2735

def RequestId
  @RequestId
end

#TargetsObject



2735
2736
2737
# File 'lib/v20180317/models.rb', line 2735

def Targets
  @Targets
end

Instance Method Details

#deserialize(params) ⇒ Object



2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
# File 'lib/v20180317/models.rb', line 2742

def deserialize(params)
  unless params['Targets'].nil?
    @Targets = []
    params['Targets'].each do |i|
      classicaltarget_tmp = ClassicalTarget.new
      classicaltarget_tmp.deserialize(i)
      @Targets << classicaltarget_tmp
    end
  end
  @RequestId = params['RequestId']
end