NIMSDK-AOS  9.19.0
MessageRobotInfo.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
3 import java.io.Serializable;
4 
5 public class MessageRobotInfo implements Serializable {
6 
7  private final String function;
8  private final String topic;
9  private final String customContent;
10  private final String account;
11 
12  public MessageRobotInfo(String function, String topic, String customContent, String account) {
13  this.function = function;
14  this.topic = topic;
15  this.customContent = customContent;
16  this.account = account;
17  }
18 
19  public String getFunction() {
20  return function;
21  }
22 
23  public String getTopic() {
24  return topic;
25  }
26 
27  public String getCustomContent() {
28  return customContent;
29  }
30 
31  public String getAccount() {
32  return account;
33  }
34 
35  @Override
36  public String toString() {
37  return "MessageRobotInfo{" +
38  "function='" + function + '\'' +
39  ", topic='" + topic + '\'' +
40  ", customContent='" + customContent + '\'' +
41  ", account='" + account + '\'' +
42  '}';
43  }
44 }
MessageRobotInfo(String function, String topic, String customContent, String account)