Class: TencentCloud::Clb::V20180317::DescribeTargetHealthResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetHealthResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargetHealth返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancers = nil, requestid = nil) ⇒ DescribeTargetHealthResponse
constructor
A new instance of DescribeTargetHealthResponse.
Constructor Details
#initialize(loadbalancers = nil, requestid = nil) ⇒ DescribeTargetHealthResponse
Returns a new instance of DescribeTargetHealthResponse.
4172 4173 4174 4175 |
# File 'lib/v20180317/models.rb', line 4172 def initialize(loadbalancers=nil, requestid=nil) @LoadBalancers = loadbalancers @RequestId = requestid end |
Instance Attribute Details
#LoadBalancers ⇒ Object
4170 4171 4172 |
# File 'lib/v20180317/models.rb', line 4170 def LoadBalancers @LoadBalancers end |
#RequestId ⇒ Object
4170 4171 4172 |
# File 'lib/v20180317/models.rb', line 4170 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 |
# File 'lib/v20180317/models.rb', line 4177 def deserialize(params) unless params['LoadBalancers'].nil? @LoadBalancers = [] params['LoadBalancers'].each do |i| loadbalancerhealth_tmp = LoadBalancerHealth.new loadbalancerhealth_tmp.deserialize(i) @LoadBalancers << loadbalancerhealth_tmp end end @RequestId = params['RequestId'] end |