public class WarningInfoObj extends AbstractModel
header, skipSign
Constructor and Description |
---|
WarningInfoObj() |
WarningInfoObj(WarningInfoObj source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBeginTime()
Get Start time.
|
Long |
getControlBit()
Get Vulnerability level control bit (corresponding to the decimal storage in the database)
|
String |
getControlBits()
Get Vulnerability level control bits in binary.
|
Long |
getCount()
Get Configured Number of Hosts in the Range of Alarm, used by the frontend to decide when to display prompt information.
|
Long |
getDisablePhoneWarning()
Get 1: disable alarm; 0: enable alarm
|
String |
getEndTime()
Get End time.
|
Long |
getHostRange()
Get Alarm Host Range Type.
|
String |
getTimeZone()
Get Time zone information
|
Long |
getType()
Get Event alarm type.
|
void |
setBeginTime(String BeginTime)
Set Start time.
|
void |
setControlBit(Long ControlBit)
Set Vulnerability level control bit (corresponding to the decimal storage in the database)
|
void |
setControlBits(String ControlBits)
Set Vulnerability level control bits in binary.
|
void |
setCount(Long Count)
Set Configured Number of Hosts in the Range of Alarm, used by the frontend to decide when to display prompt information.
|
void |
setDisablePhoneWarning(Long DisablePhoneWarning)
Set 1: disable alarm; 0: enable alarm
|
void |
setEndTime(String EndTime)
Set End time.
|
void |
setHostRange(Long HostRange)
Set Alarm Host Range Type.
|
void |
setTimeZone(String TimeZone)
Set Time zone information
|
void |
setType(Long Type)
Set Event alarm type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public WarningInfoObj()
public WarningInfoObj(WarningInfoObj source)
public Long getType()
public void setType(Long Type)
Type
- Event alarm type. 1: offline; 2: Trojan; 3: abnormal log-in; 4: brute force cracking; 5: vulnerability (including types of values 9, 10, 11, and 12); 6: high-risk command; 7: reverse shell; 8: local privilege escalation; 9: application vulnerability; 10: web CMS vulnerability; 11: emergency vulnerability; 12: security baseline; 13: tampering prevention; 14: malicious request; 15: network attack; 16: Windows system vulnerability; 17: Linux software vulnerability; 18: core file monitoring; 19: client uninstallation; 20: client offline.public Long getDisablePhoneWarning()
public void setDisablePhoneWarning(Long DisablePhoneWarning)
DisablePhoneWarning
- 1: disable alarm; 0: enable alarmpublic String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- Start time. Format: HH:mm.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time. Format: HH:mm.public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone
- Time zone informationpublic Long getControlBit()
public void setControlBit(Long ControlBit)
ControlBit
- Vulnerability level control bit (corresponding to the decimal storage in the database)public String getControlBits()
public void setControlBits(String ControlBits)
ControlBits
- Vulnerability level control bits in binary. Each bit indicates the enabling status of the corresponding vulnerability level on the page: low, medium, and high (0: disabled; 1: enabled). For example, 101 indicates that both low and high levels are enabled.public Long getHostRange()
public void setHostRange(Long HostRange)
HostRange
- Alarm Host Range Type. 0: All Hosts; 1: By Project; 2: By Tencent Cloud Tag; 3: By Host Security Tag; 4: Custom Hosts
Note: This field may return null, indicating that no valid values can be obtained.public Long getCount()
public void setCount(Long Count)
Count
- Configured Number of Hosts in the Range of Alarm, used by the frontend to decide when to display prompt information.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.