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
  • Constructor Details

    • ConversationThread

      public ConversationThread()
      Instantiates a new ConversationThread 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

      @Nullable public List<Recipient> getCcRecipients()
      Gets the ccRecipients property value. The Cc: recipients for the thread. Returned only on $select.
      Returns:
      a List<Recipient>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHasAttachments

      @Nullable public Boolean 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

      @Nullable public Boolean getIsLocked()
      Gets the isLocked property value. Indicates if the thread is locked. Returned by default.
      Returns:
      a Boolean
    • getLastDeliveredDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public List<Post> getPosts()
      Gets the posts property value. The posts property
      Returns:
      a List<Post>
    • getPreview

      @Nullable public String 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

      @Nullable public 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

      @Nullable public List<Recipient> getToRecipients()
      Gets the toRecipients property value. The To: recipients for the thread. Returned only on $select.
      Returns:
      a List<Recipient>
    • getUniqueSenders

      @Nullable public List<String> getUniqueSenders()
      Gets the uniqueSenders property value. All the users that sent a message to this thread. Returned by default.
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCcRecipients

      public void setCcRecipients(@Nullable List<Recipient> value)
      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

      public void setHasAttachments(@Nullable Boolean value)
      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

      public void setIsLocked(@Nullable Boolean value)
      Sets the isLocked property value. Indicates if the thread is locked. Returned by default.
      Parameters:
      value - Value to set for the isLocked property.
    • setLastDeliveredDateTime

      public void setLastDeliveredDateTime(@Nullable OffsetDateTime value)
      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

      public void setPosts(@Nullable List<Post> value)
      Sets the posts property value. The posts property
      Parameters:
      value - Value to set for the posts property.
    • setPreview

      public void setPreview(@Nullable String value)
      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

      public void setTopic(@Nullable String value)
      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

      public void setToRecipients(@Nullable List<Recipient> value)
      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

      public void setUniqueSenders(@Nullable List<String> value)
      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.