Class MicrosoftGraphConversationThread

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphConversationThread

public final class MicrosoftGraphConversationThread extends MicrosoftGraphEntity
conversationThread.
  • Constructor Details

    • MicrosoftGraphConversationThread

      public MicrosoftGraphConversationThread()
      Creates an instance of MicrosoftGraphConversationThread class.
  • Method Details

    • ccRecipients

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

      public Boolean hasAttachments()
      Get the hasAttachments property: Indicates whether any of the posts within this thread has at least one attachment.
      Returns:
      the hasAttachments value.
    • withHasAttachments

      public MicrosoftGraphConversationThread withHasAttachments(Boolean hasAttachments)
      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

      public Boolean isLocked()
      Get the isLocked property: Indicates if the thread is locked.
      Returns:
      the isLocked value.
    • withIsLocked

      public MicrosoftGraphConversationThread withIsLocked(Boolean isLocked)
      Set the isLocked property: Indicates if the thread is locked.
      Parameters:
      isLocked - the isLocked value to set.
      Returns:
      the MicrosoftGraphConversationThread object itself.
    • 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.
    • 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

      public String preview()
      Get the preview property: A short summary from the body of the latest post in this conversation.
      Returns:
      the preview value.
    • withPreview

      public MicrosoftGraphConversationThread withPreview(String preview)
      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

      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.
    • withTopic

      public MicrosoftGraphConversationThread 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 MicrosoftGraphConversationThread object itself.
    • toRecipients

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

      public List<String> uniqueSenders()
      Get the uniqueSenders property: All the users that sent a message to this thread.
      Returns:
      the uniqueSenders value.
    • withUniqueSenders

      public MicrosoftGraphConversationThread withUniqueSenders(List<String> uniqueSenders)
      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

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

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: conversationThread.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphConversationThread withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: conversationThread.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphConversationThread object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.