Class: TencentCloud::Cws::V20180312::CreateMonitorsRequest

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

Overview

CreateMonitors请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urls = nil, name = nil, scannertype = nil, crontab = nil, ratelimit = nil, firstscanstarttime = nil) ⇒ CreateMonitorsRequest

Returns a new instance of CreateMonitorsRequest.



37
38
39
40
41
42
43
44
# File 'lib/v20180312/models.rb', line 37

def initialize(urls=nil, name=nil, scannertype=nil, crontab=nil, ratelimit=nil, firstscanstarttime=nil)
  @Urls = urls
  @Name = name
  @ScannerType = scannertype
  @Crontab = crontab
  @RateLimit = ratelimit
  @FirstScanStartTime = firstscanstarttime
end

Instance Attribute Details

#CrontabObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def Crontab
  @Crontab
end

#FirstScanStartTimeObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def FirstScanStartTime
  @FirstScanStartTime
end

#NameObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def Name
  @Name
end

#RateLimitObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def RateLimit
  @RateLimit
end

#ScannerTypeObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def ScannerType
  @ScannerType
end

#UrlsObject

Parameters:

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

    扫描模式,normal-正常扫描;deep-深度扫描

  • Crontab:

    扫描周期,单位小时,每X小时执行一次

  • RateLimit:

    扫描速率限制,每秒发送X个HTTP请求

  • FirstScanStartTime:

    首次扫描开始时间



35
36
37
# File 'lib/v20180312/models.rb', line 35

def Urls
  @Urls
end

Instance Method Details

#deserialize(params) ⇒ Object



46
47
48
49
50
51
52
53
# File 'lib/v20180312/models.rb', line 46

def deserialize(params)
  @Urls = params['Urls']
  @Name = params['Name']
  @ScannerType = params['ScannerType']
  @Crontab = params['Crontab']
  @RateLimit = params['RateLimit']
  @FirstScanStartTime = params['FirstScanStartTime']
end