Class MicrosoftGraphConversation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphConversation
conversation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphConversation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: conversation.Get the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.Get the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.preview()Get the preview property: A short summary from the body of the latest post in this converstaion.threads()Get the threads property: A collection of all the conversation threads in the conversation.topic()Get the topic property: The topic of the conversation.Get the uniqueSenders property: All the users that sent a message to this Conversation.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: conversation.withHasAttachments(Boolean hasAttachments) Set the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.Set the id property: Read-only.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.withPreview(String preview) Set the preview property: A short summary from the body of the latest post in this converstaion.withThreads(List<MicrosoftGraphConversationThread> threads) Set the threads property: A collection of all the conversation threads in the conversation.Set the topic property: The topic of the conversation.withUniqueSenders(List<String> uniqueSenders) Set the uniqueSenders property: All the users that sent a message to this Conversation.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphConversation
public MicrosoftGraphConversation()Creates an instance of MicrosoftGraphConversation class.
-
-
Method Details
-
hasAttachments
Get the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.- Returns:
- the hasAttachments value.
-
withHasAttachments
Set the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.- Parameters:
hasAttachments- the hasAttachments value to set.- Returns:
- the MicrosoftGraphConversation 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
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 MicrosoftGraphConversation object itself.
-
preview
Get the preview property: A short summary from the body of the latest post in this converstaion.- Returns:
- the preview value.
-
withPreview
Set the preview property: A short summary from the body of the latest post in this converstaion.- Parameters:
preview- the preview value to set.- Returns:
- the MicrosoftGraphConversation 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 MicrosoftGraphConversation object itself.
-
uniqueSenders
Get the uniqueSenders property: All the users that sent a message to this Conversation.- Returns:
- the uniqueSenders value.
-
withUniqueSenders
Set the uniqueSenders property: All the users that sent a message to this Conversation.- Parameters:
uniqueSenders- the uniqueSenders value to set.- Returns:
- the MicrosoftGraphConversation object itself.
-
threads
Get the threads property: A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.- Returns:
- the threads value.
-
withThreads
Set the threads property: A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.- Parameters:
threads- the threads value to set.- Returns:
- the MicrosoftGraphConversation object itself.
-
additionalProperties
Get the additionalProperties property: conversation.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: conversation.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphConversation 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.
-