Class: TencentCloud::Clb::V20180317::DescribeLoadBalancersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeLoadBalancersResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeLoadBalancers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, loadbalancerset = nil, requestid = nil) ⇒ DescribeLoadBalancersResponse
constructor
A new instance of DescribeLoadBalancersResponse.
Constructor Details
#initialize(totalcount = nil, loadbalancerset = nil, requestid = nil) ⇒ DescribeLoadBalancersResponse
Returns a new instance of DescribeLoadBalancersResponse.
3757 3758 3759 3760 3761 |
# File 'lib/v20180317/models.rb', line 3757 def initialize(totalcount=nil, loadbalancerset=nil, requestid=nil) @TotalCount = totalcount @LoadBalancerSet = loadbalancerset @RequestId = requestid end |
Instance Attribute Details
#LoadBalancerSet ⇒ Object
3755 3756 3757 |
# File 'lib/v20180317/models.rb', line 3755 def LoadBalancerSet @LoadBalancerSet end |
#RequestId ⇒ Object
3755 3756 3757 |
# File 'lib/v20180317/models.rb', line 3755 def RequestId @RequestId end |
#TotalCount ⇒ Object
3755 3756 3757 |
# File 'lib/v20180317/models.rb', line 3755 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 |
# File 'lib/v20180317/models.rb', line 3763 def deserialize(params) @TotalCount = params['TotalCount'] unless params['LoadBalancerSet'].nil? @LoadBalancerSet = [] params['LoadBalancerSet'].each do |i| loadbalancer_tmp = LoadBalancer.new loadbalancer_tmp.deserialize(i) @LoadBalancerSet << loadbalancer_tmp end end @RequestId = params['RequestId'] end |