Class: TencentCloud::Cws::V20180312::ModifyMonitorAttributeRequest

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

Overview

ModifyMonitorAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(monitorid = nil, urls = nil, name = nil, scannertype = nil, crontab = nil, ratelimit = nil, firstscanstarttime = nil, monitorstatus = nil) ⇒ ModifyMonitorAttributeRequest

Returns a new instance of ModifyMonitorAttributeRequest.



853
854
855
856
857
858
859
860
861
862
# File 'lib/v20180312/models.rb', line 853

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

Instance Attribute Details

#CrontabObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def Crontab
  @Crontab
end

#FirstScanStartTimeObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def FirstScanStartTime
  @FirstScanStartTime
end

#MonitorIdObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def MonitorId
  @MonitorId
end

#MonitorStatusObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def MonitorStatus
  @MonitorStatus
end

#NameObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def Name
  @Name
end

#RateLimitObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def RateLimit
  @RateLimit
end

#ScannerTypeObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def ScannerType
  @ScannerType
end

#UrlsObject

Parameters:

  • MonitorId:

    监测任务ID

  • Urls:

    站点的url列表

  • Name:

    任务名称

  • ScannerType:

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

  • Crontab:

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

  • RateLimit:

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

  • FirstScanStartTime:

    首次扫描开始时间

  • MonitorStatus:

    监测状态:1-监测中;2-暂停监测



851
852
853
# File 'lib/v20180312/models.rb', line 851

def Urls
  @Urls
end

Instance Method Details

#deserialize(params) ⇒ Object



864
865
866
867
868
869
870
871
872
873
# File 'lib/v20180312/models.rb', line 864

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