Class MicrosoftGraphConversation

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

public final class MicrosoftGraphConversation extends MicrosoftGraphEntity
conversation.
  • Constructor Details

    • MicrosoftGraphConversation

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

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

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

      public MicrosoftGraphConversation withUniqueSenders(List<String> 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.
    • 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

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

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

      public MicrosoftGraphConversation withId(String id)
      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.