Class AcsChatThreadCreatedWithUserEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatThreadCreatedWithUserEventData
-
public final class AcsChatThreadCreatedWithUserEventData extends AcsChatThreadEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreatedWithUser event.
-
-
Constructor Summary
Constructors Constructor Description AcsChatThreadCreatedWithUserEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationIdentifierModel
getCreatedByCommunicationIdentifier()
Get the createdByCommunicationIdentifier property: The communication identifier of the user who created the thread.List<AcsChatThreadParticipantProperties>
getParticipants()
Get the participants property: The list of properties of participants who are part of the thread.Map<String,Object>
getProperties()
Get the properties property: The thread properties.AcsChatThreadCreatedWithUserEventData
setCreatedByCommunicationIdentifier(CommunicationIdentifierModel createdByCommunicationIdentifier)
Set the createdByCommunicationIdentifier property: The communication identifier of the user who created the thread.AcsChatThreadCreatedWithUserEventData
setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.AcsChatThreadCreatedWithUserEventData
setParticipants(List<AcsChatThreadParticipantProperties> participants)
Set the participants property: The list of properties of participants who are part of the thread.AcsChatThreadCreatedWithUserEventData
setProperties(Map<String,Object> properties)
Set the properties property: The thread properties.AcsChatThreadCreatedWithUserEventData
setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.AcsChatThreadCreatedWithUserEventData
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatThreadCreatedWithUserEventData
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatThreadCreatedWithUserEventData
setVersion(Long version)
Set the version property: The version of the thread.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
getCreateTime, getVersion
-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifier, getThreadId, getTransactionId
-
-
-
-
Method Detail
-
getCreatedByCommunicationIdentifier
public CommunicationIdentifierModel getCreatedByCommunicationIdentifier()
Get the createdByCommunicationIdentifier property: The communication identifier of the user who created the thread.- Returns:
- the createdByCommunicationIdentifier value.
-
setCreatedByCommunicationIdentifier
public AcsChatThreadCreatedWithUserEventData 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 AcsChatThreadCreatedWithUserEventData object itself.
-
getProperties
public Map<String,Object> getProperties()
Get the properties property: The thread properties.- Returns:
- the properties value.
-
setProperties
public AcsChatThreadCreatedWithUserEventData setProperties(Map<String,Object> properties)
Set the properties property: The thread properties.- Parameters:
properties
- the properties value to set.- Returns:
- the AcsChatThreadCreatedWithUserEventData 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
public AcsChatThreadCreatedWithUserEventData setParticipants(List<AcsChatThreadParticipantProperties> participants)
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 AcsChatThreadCreatedWithUserEventData object itself.
-
setCreateTime
public AcsChatThreadCreatedWithUserEventData setCreateTime(OffsetDateTime createTime)
Set the createTime property: The original creation time of the thread.- Overrides:
setCreateTime
in classAcsChatThreadEventBaseProperties
- Parameters:
createTime
- the createTime value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setVersion
public AcsChatThreadCreatedWithUserEventData setVersion(Long version)
Set the version property: The version of the thread.- Overrides:
setVersion
in classAcsChatThreadEventBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatThreadEventBaseProperties object itself.
-
setRecipientCommunicationIdentifier
public AcsChatThreadCreatedWithUserEventData setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.- Overrides:
setRecipientCommunicationIdentifier
in classAcsChatThreadEventBaseProperties
- Parameters:
recipientCommunicationIdentifier
- the recipientCommunicationIdentifier value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setTransactionId
public AcsChatThreadCreatedWithUserEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatThreadEventBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
setThreadId
public AcsChatThreadCreatedWithUserEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatThreadEventBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventBaseProperties object itself.
-
-