1 package com.netease.nimlib.sdk.qchat.model;
3 import java.io.Serializable;
13 private Boolean isCustomAntiSpamEnable;
17 private String customAntiSpamContent;
21 private String antiSpamBusinessId;
25 private Boolean isAntiSpamUsingYidun;
29 private String yidunCallback;
33 private String yidunAntiCheating;
37 private String yidunAntiSpamExt;
44 return isCustomAntiSpamEnable;
52 return customAntiSpamContent;
60 return antiSpamBusinessId;
68 return isAntiSpamUsingYidun;
84 return yidunAntiCheating;
92 return yidunAntiSpamExt;
100 isCustomAntiSpamEnable = customAntiSpamEnable;
108 this.customAntiSpamContent = customAntiSpamContent;
116 this.antiSpamBusinessId = antiSpamBusinessId;
124 isAntiSpamUsingYidun = antiSpamUsingYidun;
132 this.yidunCallback = yidunCallback;
140 this.yidunAntiCheating = yidunAntiCheating;
148 this.yidunAntiSpamExt = yidunAntiSpamExt;
153 return "QChatMessageAntiSpamOption{" +
154 "isCustomAntiSpamEnable=" + isCustomAntiSpamEnable +
155 ", customAntiSpamContent='" + customAntiSpamContent +
'\'' +
156 ", antiSpamBusinessId='" + antiSpamBusinessId +
'\'' +
157 ", isAntiSpamUsingYidun=" + isAntiSpamUsingYidun +
158 ", yidunCallback='" + yidunCallback +
'\'' +
159 ", yidunAntiCheating='" + yidunAntiCheating +
'\'' +
160 ", yidunAntiSpamExt='" + yidunAntiSpamExt +
'\'' +
void setCustomAntiSpamEnable(Boolean customAntiSpamEnable)
设置是否使用自定义反垃圾字段(customAntiSpamContent)
void setAntiSpamUsingYidun(Boolean antiSpamUsingYidun)
设置单条消息是否使用易盾反垃圾
void setYidunAntiCheating(String yidunAntiCheating)
设置易盾反垃圾增强反作弊专属字段, 限制json, 长度限制1024
String getYidunAntiCheating()
获取易盾反垃圾增强反作弊专属字段, 限制json, 长度限制1024
String getYidunCallback()
获取易盾check的回调URL, 目前仅支持Audio类型的消息, 最长256个字符, 如果不合法则忽略该参数 ...
void setCustomAntiSpamContent(String customAntiSpamContent)
设置开发者自定义的反垃圾字段
String getCustomAntiSpamContent()
获取开发者自定义的反垃圾字段
Boolean getAntiSpamUsingYidun()
获取单条消息是否使用易盾反垃圾
String getAntiSpamBusinessId()
获取用户配置的对某些单条消息另外的反垃圾的业务ID
Boolean getCustomAntiSpamEnable()
获取是否使用自定义反垃圾字段(customAntiSpamContent)
String getYidunAntiSpamExt()
获取易盾反垃圾扩展字段, 限制json, 长度限制1024
void setAntiSpamBusinessId(String antiSpamBusinessId)
设置用户配置的对某些单条消息另外的反垃圾的业务ID
void setYidunCallback(String yidunCallback)
设置易盾check的回调URL, 目前仅支持Audio类型的消息, 最长256个字符, 如果不合法则忽略该参数 ...
void setYidunAntiSpamExt(String yidunAntiSpamExt)
设置易盾反垃圾扩展字段, 限制json, 长度限制1024