Class MicrosoftGraphPost
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPost
post.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: post.Get the attachments property: Read-only.body()Get the body property: itemBody.Get the conversationId property: Unique ID of the conversation.Get the conversationThreadId property: Unique ID of the conversation thread.Get the extensions property: The collection of open extensions defined for the post.from()Get the from property: recipient.Get the hasAttachments property: Indicates whether the post has at least one attachment.Get the inReplyTo property: post.Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post.Get the newParticipants property: Conversation participants that were added to the thread as part of this post.Get the receivedDateTime property: Specifies when the post was received.sender()Get the sender property: recipient.Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: post.withAttachments(List<MicrosoftGraphAttachment> attachments) Set the attachments property: Read-only.Set the body property: itemBody.withCategories(List<String> categories) Set the categories property: The categories associated with the item.withChangeKey(String changeKey) Set the changeKey property: Identifies the version of the item.withConversationId(String conversationId) Set the conversationId property: Unique ID of the conversation.withConversationThreadId(String conversationThreadId) Set the conversationThreadId property: Unique ID of the conversation thread.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.withExtensions(List<MicrosoftGraphExtension> extensions) Set the extensions property: The collection of open extensions defined for the post.Set the from property: recipient.withHasAttachments(Boolean hasAttachments) Set the hasAttachments property: Indicates whether the post has at least one attachment.Set the id property: Read-only.withInReplyTo(MicrosoftGraphPost inReplyTo) Set the inReplyTo property: post.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.withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post.withNewParticipants(List<MicrosoftGraphRecipient> newParticipants) Set the newParticipants property: Conversation participants that were added to the thread as part of this post.withReceivedDateTime(OffsetDateTime receivedDateTime) Set the receivedDateTime property: Specifies when the post was received.withSender(MicrosoftGraphRecipient sender) Set the sender property: recipient.withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
categories, changeKey, createdDateTime, lastModifiedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphPost
public MicrosoftGraphPost()Creates an instance of MicrosoftGraphPost class.
-
-
Method Details
-
body
Get the body property: itemBody.- Returns:
- the body value.
-
withBody
Set the body property: itemBody.- Parameters:
body- the body value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
conversationId
Get the conversationId property: Unique ID of the conversation. Read-only.- Returns:
- the conversationId value.
-
withConversationId
Set the conversationId property: Unique ID of the conversation. Read-only.- Parameters:
conversationId- the conversationId value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
conversationThreadId
Get the conversationThreadId property: Unique ID of the conversation thread. Read-only.- Returns:
- the conversationThreadId value.
-
withConversationThreadId
Set the conversationThreadId property: Unique ID of the conversation thread. Read-only.- Parameters:
conversationThreadId- the conversationThreadId value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
from
Get the from property: recipient.- Returns:
- the from value.
-
withFrom
Set the from property: recipient.- Parameters:
from- the from value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
hasAttachments
Get the hasAttachments property: Indicates whether the post has at least one attachment. This is a default property.- Returns:
- the hasAttachments value.
-
withHasAttachments
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
Get the newParticipants property: Conversation participants that were added to the thread as part of this post.- Returns:
- the newParticipants value.
-
withNewParticipants
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
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
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.
-
sender
Get the sender property: recipient.- Returns:
- the sender value.
-
withSender
Set the sender property: recipient.- Parameters:
sender- the sender value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
attachments
Get the attachments property: Read-only. Nullable.- Returns:
- the attachments value.
-
withAttachments
Set the attachments property: Read-only. Nullable.- Parameters:
attachments- the attachments value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
extensions
Get the extensions property: The collection of open extensions defined for the post. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
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
Get the inReplyTo property: post.- Returns:
- the inReplyTo value.
-
withInReplyTo
Set the inReplyTo property: post.- Parameters:
inReplyTo- the inReplyTo value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
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
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.
-
additionalProperties
Get the additionalProperties property: post.- Overrides:
additionalPropertiesin classMicrosoftGraphOutlookItem- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: post.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOutlookItem- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPost object itself.
-
withCategories
Set the categories property: The categories associated with the item.- Overrides:
withCategoriesin classMicrosoftGraphOutlookItem- Parameters:
categories- the categories value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withChangeKey
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:
withChangeKeyin classMicrosoftGraphOutlookItem- Parameters:
changeKey- the changeKey value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withCreatedDateTime
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:
withCreatedDateTimein classMicrosoftGraphOutlookItem- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withLastModifiedDateTime
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:
withLastModifiedDateTimein classMicrosoftGraphOutlookItem- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOutlookItem- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphOutlookItem- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-