Class: TencentCloud::Cws::V20180312::DescribeMonitorsRequest

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

Overview

DescribeMonitors请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(monitorids = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeMonitorsRequest

Returns a new instance of DescribeMonitorsRequest.



363
364
365
366
367
368
# File 'lib/v20180312/models.rb', line 363

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

Instance Attribute Details

#FiltersObject

Parameters:

  • MonitorIds:

    监控任务ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



361
362
363
# File 'lib/v20180312/models.rb', line 361

def Filters
  @Filters
end

#LimitObject

Parameters:

  • MonitorIds:

    监控任务ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



361
362
363
# File 'lib/v20180312/models.rb', line 361

def Limit
  @Limit
end

#MonitorIdsObject

Parameters:

  • MonitorIds:

    监控任务ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



361
362
363
# File 'lib/v20180312/models.rb', line 361

def MonitorIds
  @MonitorIds
end

#OffsetObject

Parameters:

  • MonitorIds:

    监控任务ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



361
362
363
# File 'lib/v20180312/models.rb', line 361

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'lib/v20180312/models.rb', line 370

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