Class: TencentCloud::Clb::V20180317::DescribeTargetGroupInstancesRequest

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

Overview

DescribeTargetGroupInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters = nil, limit = nil, offset = nil) ⇒ DescribeTargetGroupInstancesRequest

Returns a new instance of DescribeTargetGroupInstancesRequest.



3952
3953
3954
3955
3956
# File 'lib/v20180317/models.rb', line 3952

def initialize(filters=nil, limit=nil, offset=nil)
  @Filters = filters
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。

  • Limit:

    显示数量限制,默认20。

  • Offset:

    显示的偏移量,默认为0。



3950
3951
3952
# File 'lib/v20180317/models.rb', line 3950

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Filters:

    过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。

  • Limit:

    显示数量限制,默认20。

  • Offset:

    显示的偏移量,默认为0。



3950
3951
3952
# File 'lib/v20180317/models.rb', line 3950

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Filters:

    过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。

  • Limit:

    显示数量限制,默认20。

  • Offset:

    显示的偏移量,默认为0。



3950
3951
3952
# File 'lib/v20180317/models.rb', line 3950

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
# File 'lib/v20180317/models.rb', line 3958

def deserialize(params)
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  @Limit = params['Limit']
  @Offset = params['Offset']
end