Class: TencentCloud::Cws::V20180312::Monitor
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::Monitor
- Defined in:
- lib/v20180312/models.rb
Overview
监控任务基础数据
Instance Attribute Summary collapse
- #Appid ⇒ Object
- #ContentScanStatus ⇒ Object
- #CreatedAt ⇒ Object
- #Crontab ⇒ Object
- #CurrentScanStartTime ⇒ Object
- #FirstScanStartTime ⇒ Object
- #Id ⇒ Object
- #IncludedVulsTypes ⇒ Object
- #LastScanFinishTime ⇒ Object
- #MonitorStatus ⇒ Object
- #Name ⇒ Object
- #RateLimit ⇒ Object
- #ScannerType ⇒ Object
- #ScanStatus ⇒ Object
- #UpdatedAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, monitorstatus = nil, scannertype = nil, crontab = nil, includedvulstypes = nil, ratelimit = nil, firstscanstarttime = nil, scanstatus = nil, lastscanfinishtime = nil, currentscanstarttime = nil, createdat = nil, updatedat = nil, appid = nil, contentscanstatus = nil) ⇒ Monitor
constructor
A new instance of Monitor.
Constructor Details
#initialize(id = nil, name = nil, monitorstatus = nil, scannertype = nil, crontab = nil, includedvulstypes = nil, ratelimit = nil, firstscanstarttime = nil, scanstatus = nil, lastscanfinishtime = nil, currentscanstarttime = nil, createdat = nil, updatedat = nil, appid = nil, contentscanstatus = nil) ⇒ Monitor
Returns a new instance of Monitor.
983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 |
# File 'lib/v20180312/models.rb', line 983 def initialize(id=nil, name=nil, monitorstatus=nil, scannertype=nil, crontab=nil, includedvulstypes=nil, ratelimit=nil, firstscanstarttime=nil, scanstatus=nil, lastscanfinishtime=nil, currentscanstarttime=nil, createdat=nil, updatedat=nil, appid=nil, contentscanstatus=nil) @Id = id @Name = name @MonitorStatus = monitorstatus @ScannerType = scannertype @Crontab = crontab @IncludedVulsTypes = includedvulstypes @RateLimit = ratelimit @FirstScanStartTime = firstscanstarttime @ScanStatus = scanstatus @LastScanFinishTime = lastscanfinishtime @CurrentScanStartTime = currentscanstarttime @CreatedAt = createdat @UpdatedAt = updatedat @Appid = appid @ContentScanStatus = contentscanstatus end |
Instance Attribute Details
#Appid ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def Appid @Appid end |
#ContentScanStatus ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def ContentScanStatus @ContentScanStatus end |
#CreatedAt ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def CreatedAt @CreatedAt end |
#Crontab ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def Crontab @Crontab end |
#CurrentScanStartTime ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def CurrentScanStartTime @CurrentScanStartTime end |
#FirstScanStartTime ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def FirstScanStartTime @FirstScanStartTime end |
#Id ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def Id @Id end |
#IncludedVulsTypes ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def IncludedVulsTypes @IncludedVulsTypes end |
#LastScanFinishTime ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def LastScanFinishTime @LastScanFinishTime end |
#MonitorStatus ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def MonitorStatus @MonitorStatus end |
#Name ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def Name @Name end |
#RateLimit ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def RateLimit @RateLimit end |
#ScannerType ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def ScannerType @ScannerType end |
#ScanStatus ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def ScanStatus @ScanStatus end |
#UpdatedAt ⇒ Object
981 982 983 |
# File 'lib/v20180312/models.rb', line 981 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 |
# File 'lib/v20180312/models.rb', line 1001 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @MonitorStatus = params['MonitorStatus'] @ScannerType = params['ScannerType'] @Crontab = params['Crontab'] @IncludedVulsTypes = params['IncludedVulsTypes'] @RateLimit = params['RateLimit'] @FirstScanStartTime = params['FirstScanStartTime'] @ScanStatus = params['ScanStatus'] @LastScanFinishTime = params['LastScanFinishTime'] @CurrentScanStartTime = params['CurrentScanStartTime'] @CreatedAt = params['CreatedAt'] @UpdatedAt = params['UpdatedAt'] @Appid = params['Appid'] @ContentScanStatus = params['ContentScanStatus'] end |