Class: TencentCloud::Clb::V20180317::DescribeTargetGroupsResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

DescribeTargetGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, targetgroupset = nil, requestid = nil) ⇒ DescribeTargetGroupsResponse

Returns a new instance of DescribeTargetGroupsResponse.



4258
4259
4260
4261
4262
# File 'lib/v20180317/models.rb', line 4258

def initialize(totalcount=nil, targetgroupset=nil, requestid=nil)
  @TotalCount = totalcount
  @TargetGroupSet = targetgroupset
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    显示的结果数量。

  • TargetGroupSet:

    显示的目标组信息集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4256
4257
4258
# File 'lib/v20180317/models.rb', line 4256

def RequestId
  @RequestId
end

#TargetGroupSetObject

Parameters:

  • TotalCount:

    显示的结果数量。

  • TargetGroupSet:

    显示的目标组信息集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4256
4257
4258
# File 'lib/v20180317/models.rb', line 4256

def TargetGroupSet
  @TargetGroupSet
end

#TotalCountObject

Parameters:

  • TotalCount:

    显示的结果数量。

  • TargetGroupSet:

    显示的目标组信息集合。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4256
4257
4258
# File 'lib/v20180317/models.rb', line 4256

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
# File 'lib/v20180317/models.rb', line 4264

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