public class Chat extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Chat.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected OffsetDateTime |
lastUpdatedDateTime |
protected String |
topic |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Chat() |
| Modifier and Type | Method and Description |
|---|---|
static Chat.Builder |
builderChat()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
TeamsAppInstallationCollectionRequest |
getInstalledApps() |
Optional<OffsetDateTime> |
getLastUpdatedDateTime() |
ConversationMemberCollectionRequest |
getMembers() |
ChatMessageCollectionRequest |
getMessages() |
Optional<String> |
getTopic() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Chat |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Chat |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
sendActivityNotification(TeamworkActivityTopic topic,
String activityType,
Long chainId,
ItemBody previewText,
List<KeyValuePair> templateParameters,
TeamworkNotificationRecipient recipient) |
String |
toString() |
Chat |
withCreatedDateTime(OffsetDateTime createdDateTime) |
Chat |
withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime) |
Chat |
withTopic(String topic) |
protected String topic
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastUpdatedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Chat.Builder builderChat()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
public Chat withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<OffsetDateTime> getLastUpdatedDateTime()
public Chat withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
public ConversationMemberCollectionRequest getMembers()
public ChatMessageCollectionRequest getMessages()
public TeamsAppInstallationCollectionRequest getInstalledApps()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Chat patch()
this with changed fields reset.public Chat put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn sendActivityNotification(TeamworkActivityTopic topic, String activityType, Long chainId, ItemBody previewText, List<KeyValuePair> templateParameters, TeamworkNotificationRecipient recipient)
Copyright © 2018–2020. All rights reserved.