Class: TencentCloud::Cws::V20180312::CreateMonitorsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::CreateMonitorsRequest
- Defined in:
- lib/v20180312/models.rb
Overview
CreateMonitors请求参数结构体
Instance Attribute Summary collapse
- #Crontab ⇒ Object
- #FirstScanStartTime ⇒ Object
- #Name ⇒ Object
- #RateLimit ⇒ Object
- #ScannerType ⇒ Object
- #Urls ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(urls = nil, name = nil, scannertype = nil, crontab = nil, ratelimit = nil, firstscanstarttime = nil) ⇒ CreateMonitorsRequest
constructor
A new instance of CreateMonitorsRequest.
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
#Crontab ⇒ Object
35 36 37 |
# File 'lib/v20180312/models.rb', line 35 def Crontab @Crontab end |
#FirstScanStartTime ⇒ Object
35 36 37 |
# File 'lib/v20180312/models.rb', line 35 def FirstScanStartTime @FirstScanStartTime end |
#Name ⇒ Object
35 36 37 |
# File 'lib/v20180312/models.rb', line 35 def Name @Name end |
#RateLimit ⇒ Object
35 36 37 |
# File 'lib/v20180312/models.rb', line 35 def RateLimit @RateLimit end |
#ScannerType ⇒ Object
35 36 37 |
# File 'lib/v20180312/models.rb', line 35 def ScannerType @ScannerType end |
#Urls ⇒ Object
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 |