Package com.mypurecloud.sdk.v2.model
Class ChatItem
java.lang.Object
com.mypurecloud.sdk.v2.model.ChatItem
- All Implemented Interfaces:
Serializable
ChatItem
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchatType(ChatItem.ChatTypeEnum chatType) The type of chatdateClosed(Date dateClosed) The date the chat was closed.dateLastMessage(Date dateLastMessage) The date of the last message.booleanfavorite(ChatFavorite favorite) The favorite entity for the chat, only appears if the chat is favoritedgetId()getName()getOpen()getRoom()getUser()inthashCode()Avatar images for the chatIf the chat is openThe room of the chatvoidsetChatType(ChatItem.ChatTypeEnum chatType) voidsetDateClosed(Date dateClosed) voidsetDateLastMessage(Date dateLastMessage) voidsetFavorite(ChatFavorite favorite) voidvoidvoidvoidvoidsetUser(ChatUserRef user) toString()user(ChatUserRef user) The other 1on1 user
-
Constructor Details
-
ChatItem
public ChatItem() -
ChatItem
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
open
If the chat is open -
getOpen
-
setOpen
-
favorite
The favorite entity for the chat, only appears if the chat is favorited -
getFavorite
-
setFavorite
-
images
Avatar images for the chat -
getImages
-
setImages
-
dateLastMessage
The date of the last message. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateLastMessage
-
setDateLastMessage
-
dateClosed
The date the chat was closed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateClosed
-
setDateClosed
-
user
The other 1on1 user -
getUser
-
setUser
-
room
The room of the chat -
getRoom
-
setRoom
-
chatType
The type of chat -
getChatType
-
setChatType
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-