NIMSDK-AOS  9.16.3
AntiSpamConfig.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.antispam.model;
2 
3 import java.io.Serializable;
4 
8 public class AntiSpamConfig implements Serializable {
12  private String antiSpamBusinessId;
13 
14  public AntiSpamConfig() {
15  }
16 
21  public AntiSpamConfig(String antiSpamBusinessId) {
22  this.antiSpamBusinessId = antiSpamBusinessId;
23  }
24 
29  public String getAntiSpamBusinessId() {
30  return antiSpamBusinessId;
31  }
32 
37  public void setAntiSpamBusinessId(String antiSpamBusinessId) {
38  this.antiSpamBusinessId = antiSpamBusinessId;
39  }
40 
41  @Override
42  public String toString() {
43  return "AntiSpamConfig{" +
44  "antiSpamBusinessId='" + antiSpamBusinessId + '\'' +
45  '}';
46  }
47 }
String getAntiSpamBusinessId()
获取用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""} ...
void setAntiSpamBusinessId(String antiSpamBusinessId)
设置用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""} ...