Class: TencentCloud::Clb::V20180317::DescribeTargetGroupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetGroupListResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargetGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, targetgroupset = nil, requestid = nil) ⇒ DescribeTargetGroupListResponse
constructor
A new instance of DescribeTargetGroupListResponse.
Constructor Details
#initialize(totalcount = nil, targetgroupset = nil, requestid = nil) ⇒ DescribeTargetGroupListResponse
Returns a new instance of DescribeTargetGroupListResponse.
4053 4054 4055 4056 4057 |
# File 'lib/v20180317/models.rb', line 4053 def initialize(totalcount=nil, targetgroupset=nil, requestid=nil) @TotalCount = totalcount @TargetGroupSet = targetgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4051 4052 4053 |
# File 'lib/v20180317/models.rb', line 4051 def RequestId @RequestId end |
#TargetGroupSet ⇒ Object
4051 4052 4053 |
# File 'lib/v20180317/models.rb', line 4051 def TargetGroupSet @TargetGroupSet end |
#TotalCount ⇒ Object
4051 4052 4053 |
# File 'lib/v20180317/models.rb', line 4051 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 |
# File 'lib/v20180317/models.rb', line 4059 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TargetGroupSet'].nil? @TargetGroupSet = [] params['TargetGroupSet'].each do |i| targetgroupinfo_tmp = TargetGroupInfo.new targetgroupinfo_tmp.deserialize(i) @TargetGroupSet << targetgroupinfo_tmp end end @RequestId = params['RequestId'] end |