Class: TencentCloud::Clb::V20180317::DescribeTargetGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetGroupsResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargetGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, targetgroupset = nil, requestid = nil) ⇒ DescribeTargetGroupsResponse
constructor
A new instance of DescribeTargetGroupsResponse.
Constructor Details
#initialize(totalcount = nil, targetgroupset = nil, requestid = nil) ⇒ DescribeTargetGroupsResponse
Returns a new instance of DescribeTargetGroupsResponse.
4176 4177 4178 4179 4180 |
# File 'lib/v20180317/models.rb', line 4176 def initialize(totalcount=nil, targetgroupset=nil, requestid=nil) @TotalCount = totalcount @TargetGroupSet = targetgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4174 4175 4176 |
# File 'lib/v20180317/models.rb', line 4174 def RequestId @RequestId end |
#TargetGroupSet ⇒ Object
4174 4175 4176 |
# File 'lib/v20180317/models.rb', line 4174 def TargetGroupSet @TargetGroupSet end |
#TotalCount ⇒ Object
4174 4175 4176 |
# File 'lib/v20180317/models.rb', line 4174 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 |
# File 'lib/v20180317/models.rb', line 4182 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 |