MicrosoftGraphConversation Class

public final class MicrosoftGraphConversation
extends MicrosoftGraphEntity

conversation.

Constructor Summary

Constructor Description
MicrosoftGraphConversation()

Creates an instance of MicrosoftGraphConversation class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: conversation.

Boolean hasAttachments()

Get the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.

OffsetDateTime lastDeliveredDateTime()

Get the lastDeliveredDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

String preview()

Get the preview property: A short summary from the body of the latest post in this converstaion.

List<MicrosoftGraphConversationThread> threads()

Get the threads property: A collection of all the conversation threads in the conversation.

String topic()

Get the topic property: The topic of the conversation.

List<String> uniqueSenders()

Get the uniqueSenders property: All the users that sent a message to this Conversation.

void validate()

Validates the instance.

MicrosoftGraphConversation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: conversation.

MicrosoftGraphConversation withHasAttachments(Boolean hasAttachments)

Set the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.

MicrosoftGraphConversation withId(String id)

Set the id property: Read-only.

MicrosoftGraphConversation 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.

MicrosoftGraphConversation withPreview(String preview)

Set the preview property: A short summary from the body of the latest post in this converstaion.

MicrosoftGraphConversation withThreads(List<MicrosoftGraphConversationThread> threads)

Set the threads property: A collection of all the conversation threads in the conversation.

MicrosoftGraphConversation withTopic(String topic)

Set the topic property: The topic of the conversation.

MicrosoftGraphConversation withUniqueSenders(List<String> uniqueSenders)

Set the uniqueSenders property: All the users that sent a message to this Conversation.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphConversation

public MicrosoftGraphConversation()

Creates an instance of MicrosoftGraphConversation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: conversation.

Overrides:

MicrosoftGraphConversation.additionalProperties()

Returns:

the additionalProperties value.

hasAttachments

public Boolean hasAttachments()

Get the hasAttachments property: Indicates whether any of the posts within this Conversation has at least one attachment.

Returns:

the hasAttachments value.

lastDeliveredDateTime

public OffsetDateTime 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.

preview

public String preview()

Get the preview property: A short summary from the body of the latest post in this converstaion.

Returns:

the preview value.

threads

public List 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.

topic

public String 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.

uniqueSenders

public List uniqueSenders()

Get the uniqueSenders property: All the users that sent a message to this Conversation.

Returns:

the uniqueSenders value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphConversation.validate()

withAdditionalProperties

public MicrosoftGraphConversation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: conversation.

Overrides:

MicrosoftGraphConversation.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphConversation object itself.

withHasAttachments

public MicrosoftGraphConversation withHasAttachments(Boolean hasAttachments)

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.

withId

public MicrosoftGraphConversation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphConversation.withId(String id)

Parameters:

id

withLastDeliveredDateTime

public MicrosoftGraphConversation 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 MicrosoftGraphConversation object itself.

withPreview

public MicrosoftGraphConversation withPreview(String preview)

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.

withThreads

public MicrosoftGraphConversation withThreads(List threads)

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.

withTopic

public MicrosoftGraphConversation withTopic(String topic)

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.

withUniqueSenders

public MicrosoftGraphConversation withUniqueSenders(List uniqueSenders)

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.

Applies to