Package com.microsoft.graph.models
Class Message
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OutlookItem
com.microsoft.graph.models.Message
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
CalendarSharingMessage,EventMessage
public class Message
extends OutlookItem
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Attachments.The Bcc Recipients.The Body.The Body Preview.The Cc Recipients.The Conversation Id.byte[]The Conversation Index.The Extensions.The Flag.The From.The Has Attachments.The Importance.The Inference Classification.The Internet Message Headers.The Internet Message Id.The Is Delivery Receipt Requested.The Is Draft.The Is Read.The Is Read Receipt Requested.The Multi Value Extended Properties.The Parent Folder Id.The Received Date Time.The Reply To.The Sender.The Sent Date Time.The Single Value Extended Properties.The Subject.The To Recipients.The Unique Body.The Web Link.Fields inherited from class com.microsoft.graph.models.OutlookItem
categories, changeKey, createdDateTime, lastModifiedDateTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
bccRecipients
@SerializedName(value="bccRecipients", alternate="BccRecipients") @Expose @Nullable public List<Recipient> bccRecipientsThe Bcc Recipients. The Bcc: recipients for the message. -
body
The Body. The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. -
bodyPreview
@SerializedName(value="bodyPreview", alternate="BodyPreview") @Expose @Nullable public String bodyPreviewThe Body Preview. The first 255 characters of the message body. It is in text format. -
ccRecipients
@SerializedName(value="ccRecipients", alternate="CcRecipients") @Expose @Nullable public List<Recipient> ccRecipientsThe Cc Recipients. The Cc: recipients for the message. -
conversationId
@SerializedName(value="conversationId", alternate="ConversationId") @Expose @Nullable public String conversationIdThe Conversation Id. The ID of the conversation the email belongs to. -
conversationIndex
@SerializedName(value="conversationIndex", alternate="ConversationIndex") @Expose @Nullable public byte[] conversationIndexThe Conversation Index. Indicates the position of the message within the conversation. -
flag
The Flag. The flag value that indicates the status, start date, due date, or completion date for the message. -
from
The From. The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. -
hasAttachments
@SerializedName(value="hasAttachments", alternate="HasAttachments") @Expose @Nullable public Boolean hasAttachmentsThe Has Attachments. Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>. -
importance
@SerializedName(value="importance", alternate="Importance") @Expose @Nullable public Importance importanceThe Importance. -
inferenceClassification
@SerializedName(value="inferenceClassification", alternate="InferenceClassification") @Expose @Nullable public InferenceClassificationType inferenceClassificationThe Inference Classification. -
internetMessageHeaders
@SerializedName(value="internetMessageHeaders", alternate="InternetMessageHeaders") @Expose @Nullable public List<InternetMessageHeader> internetMessageHeadersThe Internet Message Headers. -
internetMessageId
@SerializedName(value="internetMessageId", alternate="InternetMessageId") @Expose @Nullable public String internetMessageIdThe Internet Message Id. -
isDeliveryReceiptRequested
@SerializedName(value="isDeliveryReceiptRequested", alternate="IsDeliveryReceiptRequested") @Expose @Nullable public Boolean isDeliveryReceiptRequestedThe Is Delivery Receipt Requested. -
isDraft
The Is Draft. -
isRead
The Is Read. -
isReadReceiptRequested
@SerializedName(value="isReadReceiptRequested", alternate="IsReadReceiptRequested") @Expose @Nullable public Boolean isReadReceiptRequestedThe Is Read Receipt Requested. -
parentFolderId
@SerializedName(value="parentFolderId", alternate="ParentFolderId") @Expose @Nullable public String parentFolderIdThe Parent Folder Id. -
receivedDateTime
@SerializedName(value="receivedDateTime", alternate="ReceivedDateTime") @Expose @Nullable public OffsetDateTime receivedDateTimeThe Received Date Time. -
replyTo
@SerializedName(value="replyTo", alternate="ReplyTo") @Expose @Nullable public List<Recipient> replyToThe Reply To. -
sender
The Sender. -
sentDateTime
@SerializedName(value="sentDateTime", alternate="SentDateTime") @Expose @Nullable public OffsetDateTime sentDateTimeThe Sent Date Time. -
subject
The Subject. -
toRecipients
@SerializedName(value="toRecipients", alternate="ToRecipients") @Expose @Nullable public List<Recipient> toRecipientsThe To Recipients. -
uniqueBody
@SerializedName(value="uniqueBody", alternate="UniqueBody") @Expose @Nullable public ItemBody uniqueBodyThe Unique Body. -
webLink
The Web Link. -
attachments
@SerializedName(value="attachments", alternate="Attachments") @Expose @Nullable public AttachmentCollectionPage attachmentsThe Attachments. The fileAttachment and itemAttachment attachments for the message. -
extensions
@SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensionsThe Extensions. The collection of open extensions defined for the message. Nullable. -
multiValueExtendedProperties
@SerializedName(value="multiValueExtendedProperties", alternate="MultiValueExtendedProperties") @Expose @Nullable public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedPropertiesThe Multi Value Extended Properties. The collection of multi-value extended properties defined for the message. Nullable. -
singleValueExtendedProperties
@SerializedName(value="singleValueExtendedProperties", alternate="SingleValueExtendedProperties") @Expose @Nullable public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedPropertiesThe Single Value Extended Properties. The collection of single-value extended properties defined for the message. Nullable.
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classOutlookItem- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-