public class DescribeScanStateResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeScanStateResponse() |
DescribeScanStateResponse(DescribeScanStateResponse 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 |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Long |
getRiskEventCount()
Get Number of vulnerabilities scanned
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getScanBeginTime()
Get Scan start time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getScanEndTime()
Get Scan end time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getScanState()
Get 0 - never scanned; 1 - scan in progress; 2 - scan completed; 3 - stop in progress; 4 - stop completed
|
Long |
getSchedule()
Get Scan progress
|
Long |
getTaskId()
Get Task ID
|
Long |
getType()
Get 0 - one-click detection; 1 - regular detection
|
Long[] |
getVulId()
Get Vulnerability ID of task scan
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setRiskEventCount(Long RiskEventCount)
Set Number of vulnerabilities scanned
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setScanBeginTime(String ScanBeginTime)
Set Scan start time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setScanEndTime(String ScanEndTime)
Set Scan end time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setScanState(Long ScanState)
Set 0 - never scanned; 1 - scan in progress; 2 - scan completed; 3 - stop in progress; 4 - stop completed
|
void |
setSchedule(Long Schedule)
Set Scan progress
|
void |
setTaskId(Long TaskId)
Set Task ID
|
void |
setType(Long Type)
Set 0 - one-click detection; 1 - regular detection
|
void |
setVulId(Long[] VulId)
Set Vulnerability ID of task scan
|
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 DescribeScanStateResponse()
public DescribeScanStateResponse(DescribeScanStateResponse source)
public Long getScanState()
public void setScanState(Long ScanState)
ScanState
- 0 - never scanned; 1 - scan in progress; 2 - scan completed; 3 - stop in progress; 4 - stop completedpublic Long getSchedule()
public void setSchedule(Long Schedule)
Schedule
- Scan progresspublic Long getTaskId()
public void setTaskId(Long TaskId)
TaskId
- Task IDpublic Long[] getVulId()
public void setVulId(Long[] VulId)
VulId
- Vulnerability ID of task scanpublic Long getType()
public void setType(Long Type)
Type
- 0 - one-click detection; 1 - regular detectionpublic String getScanBeginTime()
public void setScanBeginTime(String ScanBeginTime)
ScanBeginTime
- Scan start time
Note: This field may return null, indicating that no valid values can be obtained.public Long getRiskEventCount()
public void setRiskEventCount(Long RiskEventCount)
RiskEventCount
- Number of vulnerabilities scanned
Note: This field may return null, indicating that no valid values can be obtained.public String getScanEndTime()
public void setScanEndTime(String ScanEndTime)
ScanEndTime
- Scan end time
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.