Class AcsChatThreadCreatedEventData


public final class AcsChatThreadCreatedEventData extends AcsChatThreadEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreated event.
  • Constructor Details

    • AcsChatThreadCreatedEventData

      public AcsChatThreadCreatedEventData()
  • Method Details

    • getCreatedByCommunicationIdentifier

      public CommunicationIdentifierModel getCreatedByCommunicationIdentifier()
      Get the createdByCommunicationIdentifier property: The communication identifier of the user who created the thread.
      Returns:
      the createdByCommunicationIdentifier value.
    • setCreatedByCommunicationIdentifier

      public AcsChatThreadCreatedEventData setCreatedByCommunicationIdentifier(CommunicationIdentifierModel createdByCommunicationIdentifier)
      Set the createdByCommunicationIdentifier property: The communication identifier of the user who created the thread.
      Parameters:
      createdByCommunicationIdentifier - the createdByCommunicationIdentifier value to set.
      Returns:
      the AcsChatThreadCreatedEventData object itself.
    • getProperties

      public Map<String,Object> getProperties()
      Get the properties property: The thread properties.
      Returns:
      the properties value.
    • setProperties

      public AcsChatThreadCreatedEventData setProperties(Map<String,Object> properties)
      Set the properties property: The thread properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the AcsChatThreadCreatedEventData object itself.
    • getParticipants

      public List<AcsChatThreadParticipantProperties> getParticipants()
      Get the participants property: The list of properties of participants who are part of the thread.
      Returns:
      the participants value.
    • setParticipants

      Set the participants property: The list of properties of participants who are part of the thread.
      Parameters:
      participants - the participants value to set.
      Returns:
      the AcsChatThreadCreatedEventData object itself.
    • setCreateTime

      public AcsChatThreadCreatedEventData setCreateTime(OffsetDateTime createTime)
      Set the createTime property: The original creation time of the thread.
      Overrides:
      setCreateTime in class AcsChatThreadEventInThreadBaseProperties
      Parameters:
      createTime - the createTime value to set.
      Returns:
      the AcsChatThreadEventInThreadBaseProperties object itself.
    • setVersion

      public AcsChatThreadCreatedEventData setVersion(Long version)
      Set the version property: The version of the thread.
      Overrides:
      setVersion in class AcsChatThreadEventInThreadBaseProperties
      Parameters:
      version - the version value to set.
      Returns:
      the AcsChatThreadEventInThreadBaseProperties object itself.
    • setTransactionId

      public AcsChatThreadCreatedEventData setTransactionId(String transactionId)
      Set the transactionId property: The transaction id will be used as co-relation vector.
      Overrides:
      setTransactionId in class AcsChatThreadEventInThreadBaseProperties
      Parameters:
      transactionId - the transactionId value to set.
      Returns:
      the AcsChatEventInThreadBaseProperties object itself.
    • setThreadId

      public AcsChatThreadCreatedEventData setThreadId(String threadId)
      Set the threadId property: The chat thread id.
      Overrides:
      setThreadId in class AcsChatThreadEventInThreadBaseProperties
      Parameters:
      threadId - the threadId value to set.
      Returns:
      the AcsChatEventInThreadBaseProperties object itself.