NIMSDK-AOS  9.19.0
AntiSpamConfig.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.antispam.model;
2 
3 import java.io.Serializable;
4 
5 /**
6  * 反垃圾配置
7  */
8 public class AntiSpamConfig implements Serializable {
9  /**
10  * 用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""}
11  */
12  private String antiSpamBusinessId;
13 
14  public AntiSpamConfig() {
15  }
16 
17  /**
18  *
19  * @param antiSpamBusinessId 用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""}
20  */
21  public AntiSpamConfig(String antiSpamBusinessId) {
22  this.antiSpamBusinessId = antiSpamBusinessId;
23  }
24 
25  /**
26  * 获取用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""}
27  * @return
28  */
29  public String getAntiSpamBusinessId() {
30  return antiSpamBusinessId;
31  }
32 
33  /**
34  * 设置用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""}
35  * @param antiSpamBusinessId 用户配置的对某些资料内容另外的反垃圾的业务ID, Json, {"textbid":"","picbid":""}
36  */
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":""} ...