Package com.microsoft.graph.models
Class ConversationThread
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConversationThread
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ConversationThread
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationThread
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the ccRecipients property value.The deserialization information for the current modelGets the hasAttachments property value.Gets the isLocked property value.Gets the lastDeliveredDateTime property value.getPosts()
Gets the posts property value.Gets the preview property value.getTopic()
Gets the topic property value.Gets the toRecipients property value.Gets the uniqueSenders property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCcRecipients
(List<Recipient> value) Sets the ccRecipients property value.void
setHasAttachments
(Boolean value) Sets the hasAttachments property value.void
setIsLocked
(Boolean value) Sets the isLocked property value.void
Sets the lastDeliveredDateTime property value.void
Sets the posts property value.void
setPreview
(String value) Sets the preview property value.void
Sets the topic property value.void
setToRecipients
(List<Recipient> value) Sets the toRecipients property value.void
setUniqueSenders
(List<String> value) Sets the uniqueSenders property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConversationThread
public ConversationThread()Instantiates a newConversationThread
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ConversationThread createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
ConversationThread
-
getCcRecipients
Gets the ccRecipients property value. The Cc: recipients for the thread. Returned only on $select. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHasAttachments
Gets the hasAttachments property value. Indicates whether any of the posts within this thread has at least one attachment. Returned by default.- Returns:
- a
Boolean
-
getIsLocked
Gets the isLocked property value. Indicates if the thread is locked. Returned by default.- Returns:
- a
Boolean
-
getLastDeliveredDateTime
Gets the lastDeliveredDateTime property value. 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 is 2014-01-01T00:00:00Z.Returned by default.- Returns:
- a
OffsetDateTime
-
getPosts
Gets the posts property value. The posts property -
getPreview
Gets the preview property value. A short summary from the body of the latest post in this conversation. Returned by default.- Returns:
- a
String
-
getTopic
Gets the topic property value. The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default.- Returns:
- a
String
-
getToRecipients
Gets the toRecipients property value. The To: recipients for the thread. Returned only on $select. -
getUniqueSenders
Gets the uniqueSenders property value. All the users that sent a message to this thread. Returned by default. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCcRecipients
Sets the ccRecipients property value. The Cc: recipients for the thread. Returned only on $select.- Parameters:
value
- Value to set for the ccRecipients property.
-
setHasAttachments
Sets the hasAttachments property value. Indicates whether any of the posts within this thread has at least one attachment. Returned by default.- Parameters:
value
- Value to set for the hasAttachments property.
-
setIsLocked
Sets the isLocked property value. Indicates if the thread is locked. Returned by default.- Parameters:
value
- Value to set for the isLocked property.
-
setLastDeliveredDateTime
Sets the lastDeliveredDateTime property value. 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 is 2014-01-01T00:00:00Z.Returned by default.- Parameters:
value
- Value to set for the lastDeliveredDateTime property.
-
setPosts
Sets the posts property value. The posts property- Parameters:
value
- Value to set for the posts property.
-
setPreview
Sets the preview property value. A short summary from the body of the latest post in this conversation. Returned by default.- Parameters:
value
- Value to set for the preview property.
-
setTopic
Sets the topic property value. The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default.- Parameters:
value
- Value to set for the topic property.
-
setToRecipients
Sets the toRecipients property value. The To: recipients for the thread. Returned only on $select.- Parameters:
value
- Value to set for the toRecipients property.
-
setUniqueSenders
Sets the uniqueSenders property value. All the users that sent a message to this thread. Returned by default.- Parameters:
value
- Value to set for the uniqueSenders property.
-