Class MicrosoftGraphConversationThread
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphConversationThread
conversationThread.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphConversationThread class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: conversationThread.Get the ccRecipients property: The Cc: recipients for the thread.Get the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.isLocked()Get the isLocked property: Indicates if the thread is locked.Get the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.posts()Get the posts property: Read-only.preview()Get the preview property: A short summary from the body of the latest post in this conversation.topic()Get the topic property: The topic of the conversation.Get the toRecipients property: The To: recipients for the thread.Get the uniqueSenders property: All the users that sent a message to this thread.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: conversationThread.withCcRecipients(List<MicrosoftGraphRecipient> ccRecipients) Set the ccRecipients property: The Cc: recipients for the thread.withHasAttachments(Boolean hasAttachments) Set the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.Set the id property: Read-only.withIsLocked(Boolean isLocked) Set the isLocked property: Indicates if the thread is locked.withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime) Set the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.withPosts(List<MicrosoftGraphPost> posts) Set the posts property: Read-only.withPreview(String preview) Set the preview property: A short summary from the body of the latest post in this conversation.Set the topic property: The topic of the conversation.withToRecipients(List<MicrosoftGraphRecipient> toRecipients) Set the toRecipients property: The To: recipients for the thread.withUniqueSenders(List<String> uniqueSenders) Set the uniqueSenders property: All the users that sent a message to this thread.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphConversationThread
public MicrosoftGraphConversationThread()Creates an instance of MicrosoftGraphConversationThread class.
-
-
Method Details
-
ccRecipients
Get the ccRecipients property: The Cc: recipients for the thread.- Returns:
- the ccRecipients value.
-
withCcRecipients
public MicrosoftGraphConversationThread withCcRecipients(List<MicrosoftGraphRecipient> ccRecipients) Set the ccRecipients property: The Cc: recipients for the thread.- Parameters:
ccRecipients- the ccRecipients value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
hasAttachments
Get the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.- Returns:
- the hasAttachments value.
-
withHasAttachments
Set the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.- Parameters:
hasAttachments- the hasAttachments value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
isLocked
Get the isLocked property: Indicates if the thread is locked.- Returns:
- the isLocked value.
-
withIsLocked
Set the isLocked property: Indicates if the thread is locked.- Parameters:
isLocked- the isLocked value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
lastDeliveredDateTime
Get the lastDeliveredDateTime 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'.- Returns:
- the lastDeliveredDateTime value.
-
withLastDeliveredDateTime
public MicrosoftGraphConversationThread withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime) Set the lastDeliveredDateTime 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'.- Parameters:
lastDeliveredDateTime- the lastDeliveredDateTime value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
preview
Get the preview property: A short summary from the body of the latest post in this conversation.- Returns:
- the preview value.
-
withPreview
Set the preview property: A short summary from the body of the latest post in this conversation.- Parameters:
preview- the preview value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
topic
Get the topic property: The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.- Returns:
- the topic value.
-
withTopic
Set the topic property: The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.- Parameters:
topic- the topic value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
toRecipients
Get the toRecipients property: The To: recipients for the thread.- Returns:
- the toRecipients value.
-
withToRecipients
public MicrosoftGraphConversationThread withToRecipients(List<MicrosoftGraphRecipient> toRecipients) Set the toRecipients property: The To: recipients for the thread.- Parameters:
toRecipients- the toRecipients value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
uniqueSenders
Get the uniqueSenders property: All the users that sent a message to this thread.- Returns:
- the uniqueSenders value.
-
withUniqueSenders
Set the uniqueSenders property: All the users that sent a message to this thread.- Parameters:
uniqueSenders- the uniqueSenders value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
posts
Get the posts property: Read-only. Nullable.- Returns:
- the posts value.
-
withPosts
Set the posts property: Read-only. Nullable.- Parameters:
posts- the posts value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
additionalProperties
Get the additionalProperties property: conversationThread.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphConversationThread withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: conversationThread.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphConversationThread object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-