Class MicrosoftGraphPost

    • Constructor Detail

      • MicrosoftGraphPost

        public MicrosoftGraphPost()
    • Method Detail

      • withBody

        public MicrosoftGraphPost withBody​(MicrosoftGraphItemBody body)
        Set the body property: itemBody.
        Parameters:
        body - the body value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • conversationId

        public String conversationId()
        Get the conversationId property: Unique ID of the conversation. Read-only.
        Returns:
        the conversationId value.
      • withConversationId

        public MicrosoftGraphPost withConversationId​(String conversationId)
        Set the conversationId property: Unique ID of the conversation. Read-only.
        Parameters:
        conversationId - the conversationId value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • conversationThreadId

        public String conversationThreadId()
        Get the conversationThreadId property: Unique ID of the conversation thread. Read-only.
        Returns:
        the conversationThreadId value.
      • withConversationThreadId

        public MicrosoftGraphPost withConversationThreadId​(String conversationThreadId)
        Set the conversationThreadId property: Unique ID of the conversation thread. Read-only.
        Parameters:
        conversationThreadId - the conversationThreadId value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • hasAttachments

        public Boolean hasAttachments()
        Get the hasAttachments property: Indicates whether the post has at least one attachment. This is a default property.
        Returns:
        the hasAttachments value.
      • withHasAttachments

        public MicrosoftGraphPost withHasAttachments​(Boolean hasAttachments)
        Set the hasAttachments property: Indicates whether the post has at least one attachment. This is a default property.
        Parameters:
        hasAttachments - the hasAttachments value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • newParticipants

        public List<MicrosoftGraphRecipient> newParticipants()
        Get the newParticipants property: Conversation participants that were added to the thread as part of this post.
        Returns:
        the newParticipants value.
      • withNewParticipants

        public MicrosoftGraphPost withNewParticipants​(List<MicrosoftGraphRecipient> newParticipants)
        Set the newParticipants property: Conversation participants that were added to the thread as part of this post.
        Parameters:
        newParticipants - the newParticipants value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • receivedDateTime

        public OffsetDateTime receivedDateTime()
        Get the receivedDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.
        Returns:
        the receivedDateTime value.
      • withReceivedDateTime

        public MicrosoftGraphPost withReceivedDateTime​(OffsetDateTime receivedDateTime)
        Set the receivedDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.
        Parameters:
        receivedDateTime - the receivedDateTime value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • withSender

        public MicrosoftGraphPost withSender​(MicrosoftGraphRecipient sender)
        Set the sender property: recipient.
        Parameters:
        sender - the sender value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • attachments

        public List<MicrosoftGraphAttachment> attachments()
        Get the attachments property: Read-only. Nullable.
        Returns:
        the attachments value.
      • withAttachments

        public MicrosoftGraphPost withAttachments​(List<MicrosoftGraphAttachment> attachments)
        Set the attachments property: Read-only. Nullable.
        Parameters:
        attachments - the attachments value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • extensions

        public List<MicrosoftGraphExtensionInner> extensions()
        Get the extensions property: The collection of open extensions defined for the post. Read-only. Nullable.
        Returns:
        the extensions value.
      • withExtensions

        public MicrosoftGraphPost withExtensions​(List<MicrosoftGraphExtensionInner> extensions)
        Set the extensions property: The collection of open extensions defined for the post. Read-only. Nullable.
        Parameters:
        extensions - the extensions value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • inReplyTo

        public MicrosoftGraphPost inReplyTo()
        Get the inReplyTo property: post.
        Returns:
        the inReplyTo value.
      • withInReplyTo

        public MicrosoftGraphPost withInReplyTo​(MicrosoftGraphPost inReplyTo)
        Set the inReplyTo property: post.
        Parameters:
        inReplyTo - the inReplyTo value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • multiValueExtendedProperties

        public List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties()
        Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post. Read-only. Nullable.
        Returns:
        the multiValueExtendedProperties value.
      • withMultiValueExtendedProperties

        public MicrosoftGraphPost withMultiValueExtendedProperties​(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
        Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post. Read-only. Nullable.
        Parameters:
        multiValueExtendedProperties - the multiValueExtendedProperties value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • singleValueExtendedProperties

        public List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties()
        Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post. Read-only. Nullable.
        Returns:
        the singleValueExtendedProperties value.
      • withSingleValueExtendedProperties

        public MicrosoftGraphPost withSingleValueExtendedProperties​(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
        Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post. Read-only. Nullable.
        Parameters:
        singleValueExtendedProperties - the singleValueExtendedProperties value to set.
        Returns:
        the MicrosoftGraphPost object itself.
      • withChangeKey

        public MicrosoftGraphPost withChangeKey​(String changeKey)
        Set the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
        Overrides:
        withChangeKey in class MicrosoftGraphOutlookItem
        Parameters:
        changeKey - the changeKey value to set.
        Returns:
        the MicrosoftGraphOutlookItem object itself.
      • withCreatedDateTime

        public MicrosoftGraphPost withCreatedDateTime​(OffsetDateTime createdDateTime)
        Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Overrides:
        withCreatedDateTime in class MicrosoftGraphOutlookItem
        Parameters:
        createdDateTime - the createdDateTime value to set.
        Returns:
        the MicrosoftGraphOutlookItem object itself.
      • withLastModifiedDateTime

        public MicrosoftGraphPost withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Overrides:
        withLastModifiedDateTime in class MicrosoftGraphOutlookItem
        Parameters:
        lastModifiedDateTime - the lastModifiedDateTime value to set.
        Returns:
        the MicrosoftGraphOutlookItem object itself.