com.qcloud.cos.model.ciModel.auditing.AuditingResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.model.ciModel.auditing;
import java.util.HashMap;
import java.util.Map;
/**
* 审核结果汇总
*/
public class AuditingResult {
/**
* 是否命中,命中多个取最高值
* 0表示未命中,1表示命中,2表示疑似
*/
private Integer hitFlag = 0;
/**
* 违规类型
* key为 命中审核类型 value为审核的结果分数 分数越高表示越敏感
* 相同类型取最大值
*/
private Map hitMap;
public Integer getHitFlag() {
return hitFlag;
}
public void setHitFlag(int hitFlag) {
this.hitFlag = hitFlag;
}
public Map getHitMap() {
if (hitMap == null) {
hitMap = new HashMap<>();
}
return hitMap;
}
public void setHitMap(Map hitMap) {
this.hitMap = hitMap;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("AuditingResult{");
sb.append("hitFlag=").append(hitFlag);
sb.append(", hitMap=").append(hitMap);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy