Class Post

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Post extends OutlookItem implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Post.
  • Field Details

    • body

      @SerializedName(value="body", alternate="Body") @Expose @Nullable public ItemBody 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 conversationId
      The Conversation Id. Unique ID of the conversation. Read-only.
    • conversationThreadId

      @SerializedName(value="conversationThreadId", alternate="ConversationThreadId") @Expose @Nullable public String conversationThreadId
      The Conversation Thread Id. Unique ID of the conversation thread. Read-only.
    • from

      @SerializedName(value="from", alternate="From") @Expose @Nullable public Recipient 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 hasAttachments
      The 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> newParticipants
      The 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 receivedDateTime
      The 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

      @SerializedName(value="sender", alternate="Sender") @Expose @Nullable public Recipient 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 attachments
      The Attachments. Read-only. Nullable. Supports $expand.
    • extensions

      @SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensions
      The Extensions. The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand.
    • inReplyTo

      @SerializedName(value="inReplyTo", alternate="InReplyTo") @Expose @Nullable public Post inReplyTo
      The In Reply To. Read-only. Supports $expand.
    • multiValueExtendedProperties

      @SerializedName(value="multiValueExtendedProperties", alternate="MultiValueExtendedProperties") @Expose @Nullable public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties
      The 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 singleValueExtendedProperties
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class OutlookItem
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to