public class ChatConversationBase
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatConversationBase.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
conversationId
Unique id of the Conversation.
|
protected java.lang.String |
eTag
ETag for server to check if local version of the data is the same as the one the server side.
|
protected java.lang.Long |
firstLocalEventId
Oldest conversation event id known by the app.
|
protected java.lang.Long |
lastLocalEventId
Latest conversation event id known by the app.
|
protected java.lang.Long |
latestRemoteEventId
Latest conversation event id.
|
protected java.lang.Long |
updatedOn
Date on which the conversation was updated for the last time.
|
| Constructor and Description |
|---|
ChatConversationBase() |
| Modifier and Type | Method and Description |
|---|---|
static ChatConversationBase.Builder |
baseBuilder() |
java.lang.String |
getConversationId()
Get Unique id of the Conversation.
|
java.lang.String |
getETag()
Gets ETag for server to check if local version of the data is the same as the one the server side.
|
java.lang.Long |
getFirstLocalEventId()
Gets oldest conversation event id known by the app.
|
java.lang.Long |
getLastLocalEventId()
Gets latest conversation event id known by the app.
|
java.lang.Long |
getLastRemoteEventId()
Gets latest conversation event id.
|
java.lang.Long |
getUpdatedOn()
Gets date on which the conversation was updated for the last time.
|
void |
setUpdatedOn(java.lang.Long updatedOn) |
protected java.lang.String conversationId
protected java.lang.Long firstLocalEventId
protected java.lang.Long lastLocalEventId
protected java.lang.Long latestRemoteEventId
protected java.lang.Long updatedOn
protected java.lang.String eTag
public java.lang.String getConversationId()
public java.lang.Long getFirstLocalEventId()
public java.lang.Long getLastLocalEventId()
public java.lang.Long getLastRemoteEventId()
public java.lang.Long getUpdatedOn()
public java.lang.String getETag()
public static ChatConversationBase.Builder baseBuilder()
public void setUpdatedOn(java.lang.Long updatedOn)