Class: TencentCloud::Waf::V20180125::DescribeTopAttackDomainRequest

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

Overview

DescribeTopAttackDomain请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fromtime = nil, totime = nil, count = nil, edition = nil, instanceid = nil) ⇒ DescribeTopAttackDomainRequest

Returns a new instance of DescribeTopAttackDomainRequest.



6414
6415
6416
6417
6418
6419
6420
# File 'lib/v20180125/models.rb', line 6414

def initialize(fromtime=nil, totime=nil, count=nil, edition=nil, instanceid=nil)
  @FromTime = fromtime
  @ToTime = totime
  @Count = count
  @Edition = edition
  @InstanceID = instanceid
end

Instance Attribute Details

#CountObject

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Count:

    TOP N,可从0-10选择,默认是10

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤



6412
6413
6414
# File 'lib/v20180125/models.rb', line 6412

def Count
  @Count
end

#EditionObject

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Count:

    TOP N,可从0-10选择,默认是10

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤



6412
6413
6414
# File 'lib/v20180125/models.rb', line 6412

def Edition
  @Edition
end

#FromTimeObject

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Count:

    TOP N,可从0-10选择,默认是10

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤



6412
6413
6414
# File 'lib/v20180125/models.rb', line 6412

def FromTime
  @FromTime
end

#InstanceIDObject

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Count:

    TOP N,可从0-10选择,默认是10

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤



6412
6413
6414
# File 'lib/v20180125/models.rb', line 6412

def InstanceID
  @InstanceID
end

#ToTimeObject

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Count:

    TOP N,可从0-10选择,默认是10

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤



6412
6413
6414
# File 'lib/v20180125/models.rb', line 6412

def ToTime
  @ToTime
end

Instance Method Details

#deserialize(params) ⇒ Object



6422
6423
6424
6425
6426
6427
6428
# File 'lib/v20180125/models.rb', line 6422

def deserialize(params)
  @FromTime = params['FromTime']
  @ToTime = params['ToTime']
  @Count = params['Count']
  @Edition = params['Edition']
  @InstanceID = params['InstanceID']
end