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.
3985 3986 3987 3988 3989 3990 |
# File 'lib/v20180317/models.rb', line 3985 def initialize(totalcount=nil, targetgroupinstanceset=nil, realcount=nil, requestid=nil) @TotalCount = totalcount @TargetGroupInstanceSet = targetgroupinstanceset @RealCount = realcount @RequestId = requestid end |
Instance Attribute Details
#RealCount ⇒ Object
3983 3984 3985 |
# File 'lib/v20180317/models.rb', line 3983 def RealCount @RealCount end |
#RequestId ⇒ Object
3983 3984 3985 |
# File 'lib/v20180317/models.rb', line 3983 def RequestId @RequestId end |
#TargetGroupInstanceSet ⇒ Object
3983 3984 3985 |
# File 'lib/v20180317/models.rb', line 3983 def TargetGroupInstanceSet @TargetGroupInstanceSet end |
#TotalCount ⇒ Object
3983 3984 3985 |
# File 'lib/v20180317/models.rb', line 3983 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 |
# File 'lib/v20180317/models.rb', line 3992 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 |