com.aiwiown.face.domain.verify.AttackResult Maven / Gradle / Ivy
package com.aiwiown.face.domain.verify;
import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;
import java.math.BigDecimal;
/**
* @ClassName : AttackResult
* @Description :
* @Author : dbin0123
* @Date: 2020-03-15 18:52
*/
public class AttackResult extends ApiObject {
private static final long serialVersionUID = 6868794246267317973L;
/**
* 取值[0,1]。代表攻击的分数,分数越高表明攻击的可能性越大
*/
@ApiField("score")
private BigDecimal score;
/**
* 取值[0,1]。代表攻击的阈值
*/
@ApiField("threshold")
private BigDecimal threshold;
/**
* 取值True或者False。代表云端攻击判断的结果,False代表不是攻击,True代表是攻击。
*/
@ApiField("result")
private Boolean result;
public BigDecimal getScore() {
return score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public BigDecimal getThreshold() {
return threshold;
}
public void setThreshold(BigDecimal threshold) {
this.threshold = threshold;
}
public Boolean getResult() {
return result;
}
public void setResult(Boolean result) {
this.result = result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy