Class: TencentCloud::Clb::V20180317::DescribeLBListenersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeLBListenersResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeLBListeners返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancers = nil, requestid = nil) ⇒ DescribeLBListenersResponse
constructor
A new instance of DescribeLBListenersResponse.
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
#LoadBalancers ⇒ Object
3221 3222 3223 |
# File 'lib/v20180317/models.rb', line 3221 def LoadBalancers @LoadBalancers end |
#RequestId ⇒ Object
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 |