NIMSDK-AOS  10.6.0
LocalAntiSpamResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
3 import java.io.Serializable;
4 
5 public class LocalAntiSpamResult implements Serializable {
6 
14  private int operator;
15 
19  private String content;
20 
21  public LocalAntiSpamResult(int operator, String content) {
22  this.operator = operator;
23  this.content = content;
24  }
25 
26  public int getOperator() {
27  return operator;
28  }
29 
30  public String getContent() {
31  return content;
32  }
33 
34  @Override
35  public String toString() {
36  final StringBuilder sb = new StringBuilder("LocalAntiSpamResult{");
37  sb.append("operator=").append(operator);
38  sb.append(", content='").append(content).append('\'');
39  sb.append('}');
40  return sb.toString();
41  }
42 }