1 package com.netease.nimlib.sdk.v2.ai.model;
5 import java.io.Serializable;
6 import java.util.Objects;
19 private String name =
"";
21 private String icon =
"";
29 private String title =
"";
38 private String description =
"";
46 private long time = 0L;
54 private String url =
"";
72 public V2NIMAIRAGInfo(String name,String icon,String title, String description,
long time, String url) {
76 this.description = description;
138 V2NIMAIRAGInfo that = (V2NIMAIRAGInfo) o;
139 return time == that.time && Objects.equals(name, that.name) && Objects.equals(icon, that.icon) && Objects.equals(title, that.title)
140 && Objects.equals(description, that.description) && Objects.equals(url, that.url);
145 return Objects.hash(name, icon, title, description, time, url);
155 if (NimLog.isDebugLog()) {
156 return "V2NIMAIRAGInfo{" 157 +
"name='" + name +
'\'' 158 +
", icon='" + icon +
'\'' 159 +
", title='" + title +
'\'' 160 +
", description='" + description +
'\'' 162 +
", url='" + url +
'\'' 165 return "V2NIMAIRAGInfo{" 166 +
"name='" + EncryptUtil.encryptBase64(name) +
'\'' 167 +
", icon='" + EncryptUtil.encryptBase64(icon) +
'\'' 168 +
", title='" + EncryptUtil.encryptBase64(title) +
'\'' 169 +
", description='" + EncryptUtil.encryptBase64(description) +
'\'' 171 +
", url='" + EncryptUtil.encryptBase64(url) +
'\'' String getTitle()
获取引用资源的标题
V2NIMAIRAGInfo(String name, String icon, String title, String description, long time, String url)
完整参数构造函数
String getDescription()
获取引用资源的描述
String getUrl()
获取引用资源的URL链接
String toString()
重写toString方法,用于调试和日志输出
String getIcon()
获取rag的icon