Package com.microsoft.graph.models
Class Post
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OutlookItem
com.microsoft.graph.models.Post
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Post.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Attachments.The Body.The Conversation Id.The Conversation Thread Id.The Extensions.The From.The Has Attachments.The In Reply To.The Multi Value Extended Properties.The New Participants.The Received Date Time.The Sender.The Single Value Extended Properties.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
-
body
The Body. The contents of the post. This is a default property. This property can be null. -
conversationId
@SerializedName(value="conversationId", alternate="ConversationId") @Expose @Nullable public String conversationIdThe Conversation Id. Unique ID of the conversation. Read-only. -
conversationThreadId
@SerializedName(value="conversationThreadId", alternate="ConversationThreadId") @Expose @Nullable public String conversationThreadIdThe Conversation Thread Id. Unique ID of the conversation thread. Read-only. -
from
The From. Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. -
hasAttachments
@SerializedName(value="hasAttachments", alternate="HasAttachments") @Expose @Nullable public Boolean hasAttachmentsThe Has Attachments. Indicates whether the post has at least one attachment. This is a default property. -
newParticipants
@SerializedName(value="newParticipants", alternate="NewParticipants") @Expose @Nullable public List<Recipient> newParticipantsThe New Participants. Conversation participants that were added to the thread as part of this post. -
receivedDateTime
@SerializedName(value="receivedDateTime", alternate="ReceivedDateTime") @Expose @Nullable public OffsetDateTime receivedDateTimeThe Received Date Time. Specifies when the post was received. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
sender
The Sender. Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. -
attachments
@SerializedName(value="attachments", alternate="Attachments") @Expose @Nullable public AttachmentCollectionPage attachmentsThe Attachments. Read-only. Nullable. Supports $expand. -
extensions
@SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensionsThe Extensions. The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. -
inReplyTo
The In Reply To. Read-only. Supports $expand. -
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 post. Read-only. 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 post. Read-only. Nullable.
-
-
Constructor Details
-
Post
public Post()
-
-
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
-