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



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



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

def Crontab
  @Crontab
end

#FirstScanStartTimeObject



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

def FirstScanStartTime
  @FirstScanStartTime
end

#NameObject



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

def Name
  @Name
end

#RateLimitObject



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

def RateLimit
  @RateLimit
end

#ScannerTypeObject



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

def ScannerType
  @ScannerType
end

#UrlsObject



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