public class ComplianceAssetSummary extends AbstractModel
skipSign
Constructor and Description |
---|
ComplianceAssetSummary() |
ComplianceAssetSummary(ComplianceAssetSummary 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 |
---|---|
Float |
getAssetPassedRate()
Get Asset compliance rate.
|
String |
getAssetType()
Get Asset type
|
Float |
getCheckCostTime()
Get Last check duration in seconds
Note: This field may return null, indicating that no valid values can be obtained.
|
Float |
getCheckProgress()
Get Check progress.
|
String |
getCheckStatus()
Get Check status
`CHECK_UNINIT`: Feature not enabled.
|
Long |
getFailedAssetCount()
Get Number of assets that failed the check
|
Long |
getFailedCriticalPolicyItemCount()
Get Number of critical check items that the asset failed
|
Long |
getFailedHighRiskPolicyItemCount()
Get Number of high-risk check items that the asset failed
|
Long |
getFailedLowRiskPolicyItemCount()
Get Number of low-risk check items that the asset failed
|
Long |
getFailedMediumRiskPolicyItemCount()
Get Number of medium-risk check items that the asset failed
|
Long |
getFailedPolicyItemCount()
Get Number of check items that the asset failed
|
Long |
getIgnoredPolicyItemCount()
Get Total number of ignored check items
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getIsCustomerFirstCheck()
Get Whether it is the first check.
|
String |
getLastCheckTime()
Get Last check time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getNoticePolicyItemCount()
Get Number of prompt check items of the asset
|
Long |
getOpenPolicyItemCount()
Get Total number of enabled check items
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getPassedAssetCount()
Get Number of assets that passed the check
|
Long |
getPassedPolicyItemCount()
Get Number of check items that the asset passed
|
CompliancePeriodTaskRule |
getPeriodRule()
Get Scheduled check rule
|
Long |
getScanFailedAssetCount()
Get Number of assets that failed the check
|
void |
setAssetPassedRate(Float AssetPassedRate)
Set Asset compliance rate.
|
void |
setAssetType(String AssetType)
Set Asset type
|
void |
setCheckCostTime(Float CheckCostTime)
Set Last check duration in seconds
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCheckProgress(Float CheckProgress)
Set Check progress.
|
void |
setCheckStatus(String CheckStatus)
Set Check status
`CHECK_UNINIT`: Feature not enabled.
|
void |
setFailedAssetCount(Long FailedAssetCount)
Set Number of assets that failed the check
|
void |
setFailedCriticalPolicyItemCount(Long FailedCriticalPolicyItemCount)
Set Number of critical check items that the asset failed
|
void |
setFailedHighRiskPolicyItemCount(Long FailedHighRiskPolicyItemCount)
Set Number of high-risk check items that the asset failed
|
void |
setFailedLowRiskPolicyItemCount(Long FailedLowRiskPolicyItemCount)
Set Number of low-risk check items that the asset failed
|
void |
setFailedMediumRiskPolicyItemCount(Long FailedMediumRiskPolicyItemCount)
Set Number of medium-risk check items that the asset failed
|
void |
setFailedPolicyItemCount(Long FailedPolicyItemCount)
Set Number of check items that the asset failed
|
void |
setIgnoredPolicyItemCount(Long IgnoredPolicyItemCount)
Set Total number of ignored check items
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsCustomerFirstCheck(Boolean IsCustomerFirstCheck)
Set Whether it is the first check.
|
void |
setLastCheckTime(String LastCheckTime)
Set Last check time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNoticePolicyItemCount(Long NoticePolicyItemCount)
Set Number of prompt check items of the asset
|
void |
setOpenPolicyItemCount(Long OpenPolicyItemCount)
Set Total number of enabled check items
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPassedAssetCount(Long PassedAssetCount)
Set Number of assets that passed the check
|
void |
setPassedPolicyItemCount(Long PassedPolicyItemCount)
Set Number of check items that the asset passed
|
void |
setPeriodRule(CompliancePeriodTaskRule PeriodRule)
Set Scheduled check rule
|
void |
setScanFailedAssetCount(Long ScanFailedAssetCount)
Set Number of assets that failed the check
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ComplianceAssetSummary()
public ComplianceAssetSummary(ComplianceAssetSummary source)
public String getAssetType()
public void setAssetType(String AssetType)
AssetType
- Asset typepublic Boolean getIsCustomerFirstCheck()
public void setIsCustomerFirstCheck(Boolean IsCustomerFirstCheck)
IsCustomerFirstCheck
- Whether it is the first check. This parameter is used together with `CheckStatus`.public String getCheckStatus()
public void setCheckStatus(String CheckStatus)
CheckStatus
- Check status
`CHECK_UNINIT`: Feature not enabled.
`CHECK_INIT`: To be checked.
`CHECK_RUNNING`: Checking.
`CHECK_FINISHED`: Checked.
`CHECK_FAILED`: Check failed.public Float getCheckProgress()
public void setCheckProgress(Float CheckProgress)
CheckProgress
- Check progress. Value range: 0-100. This field is valid only if the check is running.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPassedPolicyItemCount()
public void setPassedPolicyItemCount(Long PassedPolicyItemCount)
PassedPolicyItemCount
- Number of check items that the asset passedpublic Long getFailedPolicyItemCount()
public void setFailedPolicyItemCount(Long FailedPolicyItemCount)
FailedPolicyItemCount
- Number of check items that the asset failedpublic Long getFailedCriticalPolicyItemCount()
public void setFailedCriticalPolicyItemCount(Long FailedCriticalPolicyItemCount)
FailedCriticalPolicyItemCount
- Number of critical check items that the asset failedpublic Long getFailedHighRiskPolicyItemCount()
public void setFailedHighRiskPolicyItemCount(Long FailedHighRiskPolicyItemCount)
FailedHighRiskPolicyItemCount
- Number of high-risk check items that the asset failedpublic Long getFailedMediumRiskPolicyItemCount()
public void setFailedMediumRiskPolicyItemCount(Long FailedMediumRiskPolicyItemCount)
FailedMediumRiskPolicyItemCount
- Number of medium-risk check items that the asset failedpublic Long getFailedLowRiskPolicyItemCount()
public void setFailedLowRiskPolicyItemCount(Long FailedLowRiskPolicyItemCount)
FailedLowRiskPolicyItemCount
- Number of low-risk check items that the asset failedpublic Long getNoticePolicyItemCount()
public void setNoticePolicyItemCount(Long NoticePolicyItemCount)
NoticePolicyItemCount
- Number of prompt check items of the assetpublic Long getPassedAssetCount()
public void setPassedAssetCount(Long PassedAssetCount)
PassedAssetCount
- Number of assets that passed the checkpublic Long getFailedAssetCount()
public void setFailedAssetCount(Long FailedAssetCount)
FailedAssetCount
- Number of assets that failed the checkpublic Float getAssetPassedRate()
public void setAssetPassedRate(Float AssetPassedRate)
AssetPassedRate
- Asset compliance rate. Value range: 0-100.public Long getScanFailedAssetCount()
public void setScanFailedAssetCount(Long ScanFailedAssetCount)
ScanFailedAssetCount
- Number of assets that failed the checkpublic Float getCheckCostTime()
public void setCheckCostTime(Float CheckCostTime)
CheckCostTime
- Last check duration in seconds
Note: This field may return null, indicating that no valid values can be obtained.public String getLastCheckTime()
public void setLastCheckTime(String LastCheckTime)
LastCheckTime
- Last check time
Note: This field may return null, indicating that no valid values can be obtained.public CompliancePeriodTaskRule getPeriodRule()
public void setPeriodRule(CompliancePeriodTaskRule PeriodRule)
PeriodRule
- Scheduled check rulepublic Long getOpenPolicyItemCount()
public void setOpenPolicyItemCount(Long OpenPolicyItemCount)
OpenPolicyItemCount
- Total number of enabled check items
Note: This field may return null, indicating that no valid values can be obtained.public Long getIgnoredPolicyItemCount()
public void setIgnoredPolicyItemCount(Long IgnoredPolicyItemCount)
IgnoredPolicyItemCount
- Total number of ignored check items
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.