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.
4119 4120 4121 4122 4123 |
# File 'lib/v20180317/models.rb', line 4119 def initialize(totalcount=nil, targetgroupset=nil, requestid=nil) @TotalCount = totalcount @TargetGroupSet = targetgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4117 4118 4119 |
# File 'lib/v20180317/models.rb', line 4117 def RequestId @RequestId end |
#TargetGroupSet ⇒ Object
4117 4118 4119 |
# File 'lib/v20180317/models.rb', line 4117 def TargetGroupSet @TargetGroupSet end |
#TotalCount ⇒ Object
4117 4118 4119 |
# File 'lib/v20180317/models.rb', line 4117 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 |
# File 'lib/v20180317/models.rb', line 4125 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 |