Class: TencentCloud::Clb::V20180317::DescribeLBListenersResponse

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

Overview

DescribeLBListeners返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancers = nil, requestid = nil) ⇒ DescribeLBListenersResponse



3223
3224
3225
3226
# File 'lib/v20180317/models.rb', line 3223

def initialize(loadbalancers=nil, requestid=nil)
  @LoadBalancers = loadbalancers
  @RequestId = requestid
end

Instance Attribute Details

#LoadBalancersObject



3221
3222
3223
# File 'lib/v20180317/models.rb', line 3221

def LoadBalancers
  @LoadBalancers
end

#RequestIdObject



3221
3222
3223
# File 'lib/v20180317/models.rb', line 3221

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
# File 'lib/v20180317/models.rb', line 3228

def deserialize(params)
  unless params['LoadBalancers'].nil?
    @LoadBalancers = []
    params['LoadBalancers'].each do |i|
      lbitem_tmp = LBItem.new
      lbitem_tmp.deserialize(i)
      @LoadBalancers << lbitem_tmp
    end
  end
  @RequestId = params['RequestId']
end