MicrosoftGraphPost Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOutlookItem - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPost
- com.
- com.
- com.
public final class MicrosoftGraphPost
extends MicrosoftGraphOutlookItem
post.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPost() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
attachments()
Get the attachments property: Read-only. |
Microsoft |
body()
Get the body property: item |
String |
conversationId()
Get the conversation |
String |
conversationThreadId()
Get the conversation |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the post. |
Microsoft |
from()
Get the from property: recipient. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasAttachments()
Get the has |
Microsoft |
inReplyTo()
Get the in |
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
List<Microsoft |
newParticipants()
Get the new |
Offset |
receivedDateTime()
Get the received |
Microsoft |
sender()
Get the sender property: recipient. |
List<Microsoft |
singleValueExtendedProperties()
Get the single |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAttachments(List<MicrosoftGraphAttachment> attachments)
Set the attachments property: Read-only. |
Microsoft |
withBody(MicrosoftGraphItemBody body)
Set the body property: item |
Microsoft |
withCategories(List<String> categories)
Set the categories property: The categories associated with the item. |
Microsoft |
withChangeKey(String changeKey)
Set the change |
Microsoft |
withConversationId(String conversationId)
Set the conversation |
Microsoft |
withConversationThreadId(String conversationThreadId)
Set the conversation |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the post. |
Microsoft |
withFrom(MicrosoftGraphRecipient from)
Set the from property: recipient. |
Microsoft |
withHasAttachments(Boolean hasAttachments)
Set the has |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withInReplyTo(MicrosoftGraphPost inReplyTo)
Set the in |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
Microsoft |
withNewParticipants(List<MicrosoftGraphRecipient> newParticipants)
Set the new |
Microsoft |
withReceivedDateTime(OffsetDateTime receivedDateTime)
Set the received |
Microsoft |
withSender(MicrosoftGraphRecipient sender)
Set the sender property: recipient. |
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOutlookItem
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPost
public MicrosoftGraphPost()
Creates an instance of MicrosoftGraphPost class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: post.
Overrides:
MicrosoftGraphPost.additionalProperties()Returns:
attachments
public List
Get the attachments property: Read-only. Nullable.
Returns:
body
public MicrosoftGraphItemBody body()
Get the body property: itemBody.
Returns:
conversationId
public String conversationId()
Get the conversationId property: Unique ID of the conversation. Read-only.
Returns:
conversationThreadId
public String conversationThreadId()
Get the conversationThreadId property: Unique ID of the conversation thread. Read-only.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the post. Read-only. Nullable.
Returns:
from
public MicrosoftGraphRecipient from()
Get the from property: recipient.
Returns:
fromJson
public static MicrosoftGraphPost fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPost from the JsonReader.
Parameters:
Returns:
Throws:
hasAttachments
public Boolean hasAttachments()
Get the hasAttachments property: Indicates whether the post has at least one attachment. This is a default property.
Returns:
inReplyTo
public MicrosoftGraphPost inReplyTo()
Get the inReplyTo property: post.
Returns:
multiValueExtendedProperties
public List
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post. Read-only. Nullable.
Returns:
newParticipants
public List
Get the newParticipants property: Conversation participants that were added to the thread as part of this post.
Returns:
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:
sender
public MicrosoftGraphRecipient sender()
Get the sender property: recipient.
Returns:
singleValueExtendedProperties
public List
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPost.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphPost.validate()withAdditionalProperties
public MicrosoftGraphPost withAdditionalProperties(Map
Set the additionalProperties property: post.
Overrides:
MicrosoftGraphPost.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAttachments
public MicrosoftGraphPost withAttachments(List
Set the attachments property: Read-only. Nullable.
Parameters:
Returns:
withBody
public MicrosoftGraphPost withBody(MicrosoftGraphItemBody body)
Set the body property: itemBody.
Parameters:
Returns:
withCategories
public MicrosoftGraphPost withCategories(List
Set the categories property: The categories associated with the item.
Overrides:
MicrosoftGraphPost.withCategories(List<String> categories)Parameters:
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:
MicrosoftGraphPost.withChangeKey(String changeKey)Parameters:
withConversationId
public MicrosoftGraphPost withConversationId(String conversationId)
Set the conversationId property: Unique ID of the conversation. Read-only.
Parameters:
Returns:
withConversationThreadId
public MicrosoftGraphPost withConversationThreadId(String conversationThreadId)
Set the conversationThreadId property: Unique ID of the conversation thread. Read-only.
Parameters:
Returns:
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:
MicrosoftGraphPost.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withExtensions
public MicrosoftGraphPost withExtensions(List
Set the extensions property: The collection of open extensions defined for the post. Read-only. Nullable.
Parameters:
Returns:
withFrom
public MicrosoftGraphPost withFrom(MicrosoftGraphRecipient from)
Set the from property: recipient.
Parameters:
Returns:
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:
Returns:
withId
public MicrosoftGraphPost withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPost.withId(String id)Parameters:
withInReplyTo
public MicrosoftGraphPost withInReplyTo(MicrosoftGraphPost inReplyTo)
Set the inReplyTo property: post.
Parameters:
Returns:
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:
MicrosoftGraphPost.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withMultiValueExtendedProperties
public MicrosoftGraphPost withMultiValueExtendedProperties(List
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the post. Read-only. Nullable.
Parameters:
Returns:
withNewParticipants
public MicrosoftGraphPost withNewParticipants(List
Set the newParticipants property: Conversation participants that were added to the thread as part of this post.
Parameters:
Returns:
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:
Returns:
withSender
public MicrosoftGraphPost withSender(MicrosoftGraphRecipient sender)
Set the sender property: recipient.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphPost withSingleValueExtendedProperties(List
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the post. Read-only. Nullable.
Parameters:
Returns:
Applies to
Azure SDK for Java