com.volcengine.model.im.GetUserConversationsResResultConversationInfosItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.im;
import com.alibaba.fastjson.JSON;
import java.util.Map;
/**
* GetUserConversationsResResultConversationInfosItem
*/
@lombok.Data
public final class GetUserConversationsResResultConversationInfosItem {
/**
* 会话 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConversationShortId")
private Long conversationShortId;
/**
* 会话Id,字符串类型,含义跟`ConversationShortId`一样,用来定位唯一的一个会话,历史原因,目前大部分接口都在使用`ConversationShortId`,但是仍然有比较比较老的接口会使用到`ConversationId`,如果目前您接入的功能没有使用到`ConversationId`直接忽略即可
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConversationId")
private String conversationId;
/**
* 应用的唯一标志
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private Integer appId;
/**
* 信箱,用于逻辑隔离
*/
@com.alibaba.fastjson.annotation.JSONField(name = "InboxType")
private Integer inboxType;
/**
* 群名
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Name")
private String name;
/**
* 群头像 url
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AvatarUrl")
private String avatarUrl;
/**
* 群描述
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Description")
private String description;
/**
* 群主 UserId
*/
@com.alibaba.fastjson.annotation.JSONField(name = "OwnerUserId")
private Long ownerUserId;
/**
* 创群人 UserId
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CreatorUserId")
private Long creatorUserId;
/**
* 群公告
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Notice")
private String notice;
/**
* 会话状态。
*
*
*
* - `0`:正常
*
* - `1`:已解散
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Status")
private Integer status;
/**
* 会话的扩展字段。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Ext")
private Map ext;
/**
* 群聊创建时间戳,单位为秒
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CreateTime")
private Long createTime;
/**
* 修改时间戳,单位为秒
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ModifyTime")
private Long modifyTime;
/**
* 会话类型。
*
*
*
* - `1`:单聊
*
* - `2`:群聊
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConversationType")
private Integer conversationType;
/**
* 会话成员数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MemberCount")
private Long memberCount;
/**
* 直播群在线人数。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "OnlineCount")
private Long onlineCount;
/**
* 单聊会话另一个 UserId
*/
@com.alibaba.fastjson.annotation.JSONField(name = "OtherUserId")
private Long otherUserId;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy