public class ChatMessage extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatMessage.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<ChatMessageAttachment> |
attachments |
protected String |
attachmentsNextLink |
protected ItemBody |
body |
protected OffsetDateTime |
createdDateTime |
protected OffsetDateTime |
deletedDateTime |
protected String |
etag |
protected IdentitySet |
from |
protected ChatMessageImportance |
importance |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
locale |
protected List<ChatMessageMention> |
mentions |
protected String |
mentionsNextLink |
protected ChatMessageType |
messageType |
protected ChatMessagePolicyViolation |
policyViolation |
protected List<ChatMessageReaction> |
reactions |
protected String |
reactionsNextLink |
protected String |
replyToId |
protected String |
subject |
protected String |
summary |
protected String |
webUrl |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ChatMessage() |
protected String replyToId
protected IdentitySet from
protected String etag
protected ChatMessageType messageType
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected OffsetDateTime deletedDateTime
protected String subject
protected ItemBody body
protected String summary
protected List<ChatMessageAttachment> attachments
protected String attachmentsNextLink
protected List<ChatMessageMention> mentions
protected String mentionsNextLink
protected ChatMessageImportance importance
protected ChatMessagePolicyViolation policyViolation
protected List<ChatMessageReaction> reactions
protected String reactionsNextLink
protected String locale
protected String webUrl
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ChatMessage.Builder builderChatMessage()
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 ChatMessage withReplyToId(String replyToId)
public Optional<IdentitySet> getFrom()
public ChatMessage withFrom(IdentitySet from)
public ChatMessage withEtag(String etag)
public Optional<ChatMessageType> getMessageType()
public ChatMessage withMessageType(ChatMessageType messageType)
public Optional<OffsetDateTime> getCreatedDateTime()
public ChatMessage withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public ChatMessage withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public Optional<OffsetDateTime> getDeletedDateTime()
public ChatMessage withDeletedDateTime(OffsetDateTime deletedDateTime)
public ChatMessage withSubject(String subject)
public ChatMessage withBody(ItemBody body)
public ChatMessage withSummary(String summary)
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageAttachment> getAttachments()
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageAttachment> getAttachments(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageMention> getMentions()
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageMention> getMentions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<ChatMessageImportance> getImportance()
public ChatMessage withImportance(ChatMessageImportance importance)
public Optional<ChatMessagePolicyViolation> getPolicyViolation()
public ChatMessage withPolicyViolation(ChatMessagePolicyViolation policyViolation)
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageReaction> getReactions()
public com.github.davidmoten.odata.client.CollectionPage<ChatMessageReaction> getReactions(com.github.davidmoten.odata.client.HttpRequestOptions options)
public ChatMessage withLocale(String locale)
public ChatMessage withWebUrl(String webUrl)
public ChatMessageCollectionRequest getReplies()
public ChatMessageHostedContentCollectionRequest getHostedContents()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ChatMessage patch()
this with changed fields reset.public ChatMessage put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.