Class: TencentCloud::Cws::V20180312::DescribeVulsRequest

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

Overview

DescribeVuls请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(siteid = nil, monitorid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeVulsRequest

Returns a new instance of DescribeVulsRequest.



702
703
704
705
706
707
708
# File 'lib/v20180312/models.rb', line 702

def initialize(siteid=nil, monitorid=nil, filters=nil, offset=nil, limit=nil)
  @SiteId = siteid
  @MonitorId = monitorid
  @Filters = filters
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#FiltersObject

Parameters:

  • SiteId:

    站点ID

  • MonitorId:

    监控任务ID

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

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



700
701
702
# File 'lib/v20180312/models.rb', line 700

def Filters
  @Filters
end

#LimitObject

Parameters:

  • SiteId:

    站点ID

  • MonitorId:

    监控任务ID

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

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



700
701
702
# File 'lib/v20180312/models.rb', line 700

def Limit
  @Limit
end

#MonitorIdObject

Parameters:

  • SiteId:

    站点ID

  • MonitorId:

    监控任务ID

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

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



700
701
702
# File 'lib/v20180312/models.rb', line 700

def MonitorId
  @MonitorId
end

#OffsetObject

Parameters:

  • SiteId:

    站点ID

  • MonitorId:

    监控任务ID

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

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



700
701
702
# File 'lib/v20180312/models.rb', line 700

def Offset
  @Offset
end

#SiteIdObject

Parameters:

  • SiteId:

    站点ID

  • MonitorId:

    监控任务ID

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

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



700
701
702
# File 'lib/v20180312/models.rb', line 700

def SiteId
  @SiteId
end

Instance Method Details

#deserialize(params) ⇒ Object



710
711
712
713
714
715
716
717
718
719
720
721
722
723
# File 'lib/v20180312/models.rb', line 710

def deserialize(params)
  @SiteId = params['SiteId']
  @MonitorId = params['MonitorId']
  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