Class: TencentCloud::Ssa::V20180608::DescribeSocAlertListRequest

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

Overview

DescribeSocAlertList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagesize = nil, pageindex = nil, scenes = nil, filter = nil, sorter = nil, exportflag = nil) ⇒ DescribeSocAlertListRequest

Returns a new instance of DescribeSocAlertListRequest.



2376
2377
2378
2379
2380
2381
2382
2383
# File 'lib/v20180608/models.rb', line 2376

def initialize(pagesize=nil, pageindex=nil, scenes=nil, filter=nil, sorter=nil, exportflag=nil)
  @PageSize = pagesize
  @PageIndex = pageindex
  @Scenes = scenes
  @Filter = filter
  @Sorter = sorter
  @ExportFlag = exportflag
end

Instance Attribute Details

#ExportFlagObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def ExportFlag
  @ExportFlag
end

#FilterObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def Filter
  @Filter
end

#PageIndexObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def PageIndex
  @PageIndex
end

#PageSizeObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def PageSize
  @PageSize
end

#ScenesObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def Scenes
  @Scenes
end

#SorterObject

Parameters:

  • PageSize:

    页大小

  • PageIndex:

    页码

  • Scenes:

    1:急需关注 2.重保监控 3.全量告警

  • Filter:

    查询参数

  • Sorter:

    排序参数

  • ExportFlag:

    是否导出;默认为否,如量级超过1000,则使用单独的导出接口



2374
2375
2376
# File 'lib/v20180608/models.rb', line 2374

def Sorter
  @Sorter
end

Instance Method Details

#deserialize(params) ⇒ Object



2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
# File 'lib/v20180608/models.rb', line 2385

def deserialize(params)
  @PageSize = params['PageSize']
  @PageIndex = params['PageIndex']
  @Scenes = params['Scenes']
  unless params['Filter'].nil?
    @Filter = []
    params['Filter'].each do |i|
      queryfilter_tmp = QueryFilter.new
      queryfilter_tmp.deserialize(i)
      @Filter << queryfilter_tmp
    end
  end
  unless params['Sorter'].nil?
    @Sorter = []
    params['Sorter'].each do |i|
      querysort_tmp = QuerySort.new
      querysort_tmp.deserialize(i)
      @Sorter << querysort_tmp
    end
  end
  @ExportFlag = params['ExportFlag']
end