public class Message extends OutlookItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.Builder |
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Message() |
| Modifier and Type | Method and Description |
|---|---|
static Message.Builder |
builderMessage()
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.ActionRequestReturningNonCollection<Message> |
copy(String destinationId) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> |
createForward(List<Recipient> toRecipients,
Message message,
String comment) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> |
createReply(Message message,
String comment) |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> |
createReplyAll(Message message,
String comment) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
forward(List<Recipient> toRecipients,
Message message,
String comment) |
AttachmentCollectionRequest |
getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
|
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getBccRecipients() |
Optional<ItemBody> |
getBody() |
Optional<String> |
getBodyPreview() |
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getCcRecipients() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getConversationId() |
Optional<byte[]> |
getConversationIndex() |
ExtensionCollectionRequest |
getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<FollowupFlag> |
getFlag() |
Optional<Recipient> |
getFrom() |
Optional<Boolean> |
getHasAttachments() |
Optional<Importance> |
getImportance() |
Optional<InferenceClassificationType> |
getInferenceClassification() |
com.github.davidmoten.odata.client.CollectionPage<InternetMessageHeader> |
getInternetMessageHeaders() |
Optional<String> |
getInternetMessageId() |
Optional<Boolean> |
getIsDeliveryReceiptRequested() |
Optional<Boolean> |
getIsDraft() |
Optional<Boolean> |
getIsRead() |
Optional<Boolean> |
getIsReadReceiptRequested() |
MentionCollectionRequest |
getMentions()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<MentionsPreview> |
getMentionsPreview() |
MultiValueLegacyExtendedPropertyCollectionRequest |
getMultiValueExtendedProperties() |
Optional<String> |
getParentFolderId() |
Optional<OffsetDateTime> |
getReceivedDateTime() |
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getReplyTo() |
Optional<Recipient> |
getSender() |
Optional<OffsetDateTime> |
getSentDateTime() |
SingleValueLegacyExtendedPropertyCollectionRequest |
getSingleValueExtendedProperties() |
Optional<String> |
getSubject() |
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getToRecipients() |
Optional<ItemBody> |
getUniqueBody() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getUnsubscribeData() |
Optional<Boolean> |
getUnsubscribeEnabled() |
Optional<String> |
getWebLink() |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> |
move(String destinationId) |
String |
odataTypeName() |
Message |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Message |
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 |
reply(Message message,
String comment) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
replyAll(Message message,
String comment) |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
send() |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
unsubscribe() |
Message |
withBody(ItemBody body) |
Message |
withBodyPreview(String bodyPreview) |
Message |
withConversationId(String conversationId) |
Message |
withConversationIndex(byte[] conversationIndex) |
Message |
withFlag(FollowupFlag flag) |
Message |
withFrom(Recipient from) |
Message |
withHasAttachments(Boolean hasAttachments) |
Message |
withImportance(Importance importance) |
Message |
withInferenceClassification(InferenceClassificationType inferenceClassification) |
Message |
withInternetMessageId(String internetMessageId) |
Message |
withIsDeliveryReceiptRequested(Boolean isDeliveryReceiptRequested) |
Message |
withIsDraft(Boolean isDraft) |
Message |
withIsRead(Boolean isRead) |
Message |
withIsReadReceiptRequested(Boolean isReadReceiptRequested) |
Message |
withMentionsPreview(MentionsPreview mentionsPreview) |
Message |
withParentFolderId(String parentFolderId) |
Message |
withReceivedDateTime(OffsetDateTime receivedDateTime) |
Message |
withSender(Recipient sender) |
Message |
withSentDateTime(OffsetDateTime sentDateTime) |
Message |
withSubject(String subject) |
Message |
withUniqueBody(ItemBody uniqueBody) |
Message |
withUnsubscribeEnabled(Boolean unsubscribeEnabled) |
Message |
withWebLink(String webLink) |
getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withChangeKey, withCreatedDateTime, withLastModifiedDateTimeprotected OffsetDateTime receivedDateTime
protected OffsetDateTime sentDateTime
protected Boolean hasAttachments
protected String internetMessageId
protected List<InternetMessageHeader> internetMessageHeaders
protected String internetMessageHeadersNextLink
protected String subject
protected ItemBody body
protected String bodyPreview
protected Importance importance
protected String parentFolderId
protected Recipient sender
protected Recipient from
protected String toRecipientsNextLink
protected String ccRecipientsNextLink
protected String bccRecipientsNextLink
protected String replyToNextLink
protected String conversationId
protected byte[] conversationIndex
protected ItemBody uniqueBody
protected Boolean isDeliveryReceiptRequested
protected Boolean isReadReceiptRequested
protected Boolean isRead
protected Boolean isDraft
protected String webLink
protected MentionsPreview mentionsPreview
protected InferenceClassificationType inferenceClassification
protected String unsubscribeDataNextLink
protected Boolean unsubscribeEnabled
protected FollowupFlag flag
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OutlookItempublic static Message.Builder builderMessage()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OutlookItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OutlookItempublic Optional<OffsetDateTime> getReceivedDateTime()
public Message withReceivedDateTime(OffsetDateTime receivedDateTime)
public Optional<OffsetDateTime> getSentDateTime()
public Message withSentDateTime(OffsetDateTime sentDateTime)
public com.github.davidmoten.odata.client.CollectionPage<InternetMessageHeader> getInternetMessageHeaders()
public Optional<Importance> getImportance()
public Message withImportance(Importance importance)
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getToRecipients()
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getCcRecipients()
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getBccRecipients()
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getReplyTo()
public Optional<byte[]> getConversationIndex()
public Message withConversationIndex(byte[] conversationIndex)
public Message withIsDeliveryReceiptRequested(Boolean isDeliveryReceiptRequested)
public Message withIsReadReceiptRequested(Boolean isReadReceiptRequested)
public Optional<MentionsPreview> getMentionsPreview()
public Message withMentionsPreview(MentionsPreview mentionsPreview)
public Optional<InferenceClassificationType> getInferenceClassification()
public Message withInferenceClassification(InferenceClassificationType inferenceClassification)
public com.github.davidmoten.odata.client.CollectionPage<String> getUnsubscribeData()
public Optional<FollowupFlag> getFlag()
public Message withFlag(FollowupFlag flag)
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
public AttachmentCollectionRequest getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
public ExtensionCollectionRequest getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public MentionCollectionRequest getMentions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OutlookItempublic Message patch()
this with changed fields reset.patch in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Message put()
this
with changed fields reset (they were ignored anyway).put in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> createReply(Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> createReplyAll(Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> createForward(List<Recipient> toRecipients, Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestNoReturn send()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> copy(String destinationId)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Message> move(String destinationId)
public com.github.davidmoten.odata.client.ActionRequestNoReturn reply(Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestNoReturn replyAll(Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestNoReturn forward(List<Recipient> toRecipients, Message message, String comment)
public com.github.davidmoten.odata.client.ActionRequestNoReturn unsubscribe()
public String toString()
toString in class OutlookItemCopyright © 2018–2020. All rights reserved.