Class: TencentCloud::Clb::V20180317::DescribeClassicalLBListenersResponse

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

Overview

DescribeClassicalLBListeners返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listeners = nil, requestid = nil) ⇒ DescribeClassicalLBListenersResponse



2694
2695
2696
2697
# File 'lib/v20180317/models.rb', line 2694

def initialize(listeners=nil, requestid=nil)
  @Listeners = listeners
  @RequestId = requestid
end

Instance Attribute Details

#ListenersObject



2692
2693
2694
# File 'lib/v20180317/models.rb', line 2692

def Listeners
  @Listeners
end

#RequestIdObject



2692
2693
2694
# File 'lib/v20180317/models.rb', line 2692

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
# File 'lib/v20180317/models.rb', line 2699

def deserialize(params)
  unless params['Listeners'].nil?
    @Listeners = []
    params['Listeners'].each do |i|
      classicallistener_tmp = ClassicalListener.new
      classicallistener_tmp.deserialize(i)
      @Listeners << classicallistener_tmp
    end
  end
  @RequestId = params['RequestId']
end