Class: TencentCloud::Clb::V20180317::DescribeTargetGroupInstancesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetGroupInstancesResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargetGroupInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, targetgroupinstanceset = nil, realcount = nil, requestid = nil) ⇒ DescribeTargetGroupInstancesResponse
constructor
A new instance of DescribeTargetGroupInstancesResponse.
Constructor Details
#initialize(totalcount = nil, targetgroupinstanceset = nil, realcount = nil, requestid = nil) ⇒ DescribeTargetGroupInstancesResponse
Returns a new instance of DescribeTargetGroupInstancesResponse.
4124 4125 4126 4127 4128 4129 |
# File 'lib/v20180317/models.rb', line 4124 def initialize(totalcount=nil, targetgroupinstanceset=nil, realcount=nil, requestid=nil) @TotalCount = totalcount @TargetGroupInstanceSet = targetgroupinstanceset @RealCount = realcount @RequestId = requestid end |
Instance Attribute Details
#RealCount ⇒ Object
4122 4123 4124 |
# File 'lib/v20180317/models.rb', line 4122 def RealCount @RealCount end |
#RequestId ⇒ Object
4122 4123 4124 |
# File 'lib/v20180317/models.rb', line 4122 def RequestId @RequestId end |
#TargetGroupInstanceSet ⇒ Object
4122 4123 4124 |
# File 'lib/v20180317/models.rb', line 4122 def TargetGroupInstanceSet @TargetGroupInstanceSet end |
#TotalCount ⇒ Object
4122 4123 4124 |
# File 'lib/v20180317/models.rb', line 4122 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 |
# File 'lib/v20180317/models.rb', line 4131 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TargetGroupInstanceSet'].nil? @TargetGroupInstanceSet = [] params['TargetGroupInstanceSet'].each do |i| targetgroupbackend_tmp = TargetGroupBackend.new targetgroupbackend_tmp.deserialize(i) @TargetGroupInstanceSet << targetgroupbackend_tmp end end @RealCount = params['RealCount'] @RequestId = params['RequestId'] end |