package com.yanzuoguang.wxxcx.security; /** * detail包含多个策略类型的检测结果,策略类型的检查结果可能存在的属性 * * @author 李贤军 */ public class WxXcxSecurityMsgSecCheckDetailRes { /** * 策略类型 */ private String strategy; /** * 错误码,仅当该值为0时,该项结果有效 */ private Integer errcode; /** * 建议,有risky、pass、review三种值 */ private String suggest; /** * 命中标签枚举值,100 正常;10001 广告;20001 时政;20002 色情;20003 辱骂;20006 违法犯罪;20008 欺诈;20012 低俗;20013 版权;21000 其他 */ private int label; /** * 0-100,代表置信度,越高代表越有可能属于当前返回的标签(label) */ private int prob; /** * 命中的自定义关键词 */ private String keyword; public String getStrategy() { return strategy; } public void setStrategy(String strategy) { this.strategy = strategy; } public Integer getErrcode() { return errcode; } public void setErrcode(Integer errcode) { this.errcode = errcode; } public String getSuggest() { return suggest; } public void setSuggest(String suggest) { this.suggest = suggest; } public int getLabel() { return label; } public void setLabel(int label) { this.label = label; } public int getProb() { return prob; } public void setProb(int prob) { this.prob = prob; } public String getKeyword() { return keyword; } public void setKeyword(String keyword) { this.keyword = keyword; } }