Class: TencentCloud::Clb::V20180317::DescribeIdleLoadBalancersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeIdleLoadBalancersResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeIdleLoadBalancers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(idleloadbalancers = nil, totalcount = nil, requestid = nil) ⇒ DescribeIdleLoadBalancersResponse
constructor
A new instance of DescribeIdleLoadBalancersResponse.
Constructor Details
#initialize(idleloadbalancers = nil, totalcount = nil, requestid = nil) ⇒ DescribeIdleLoadBalancersResponse
Returns a new instance of DescribeIdleLoadBalancersResponse.
3171 3172 3173 3174 3175 |
# File 'lib/v20180317/models.rb', line 3171 def initialize(idleloadbalancers=nil, totalcount=nil, requestid=nil) @IdleLoadBalancers = idleloadbalancers @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#IdleLoadBalancers ⇒ Object
3169 3170 3171 |
# File 'lib/v20180317/models.rb', line 3169 def IdleLoadBalancers @IdleLoadBalancers end |
#RequestId ⇒ Object
3169 3170 3171 |
# File 'lib/v20180317/models.rb', line 3169 def RequestId @RequestId end |
#TotalCount ⇒ Object
3169 3170 3171 |
# File 'lib/v20180317/models.rb', line 3169 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 |
# File 'lib/v20180317/models.rb', line 3177 def deserialize(params) unless params['IdleLoadBalancers'].nil? @IdleLoadBalancers = [] params['IdleLoadBalancers'].each do |i| idleloadbalancer_tmp = IdleLoadBalancer.new idleloadbalancer_tmp.deserialize(i) @IdleLoadBalancers << idleloadbalancer_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |