Class AcsChatMessageEventInThreadBaseProperties
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
-
- com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
-
- Direct Known Subclasses:
AcsChatMessageDeletedInThreadEventData
,AcsChatMessageEditedInThreadEventData
,AcsChatMessageReceivedInThreadEventData
public class AcsChatMessageEventInThreadBaseProperties extends AcsChatEventInThreadBaseProperties
Schema of common properties of all thread-level chat message events.
-
-
Constructor Summary
Constructors Constructor Description AcsChatMessageEventInThreadBaseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getComposeTime()
Get the composeTime property: The original compose time of the message.String
getMessageId()
Get the messageId property: The chat message id.CommunicationIdentifierModel
getSenderCommunicationIdentifier()
Get the senderCommunicationIdentifier property: The communication identifier of the sender.String
getSenderDisplayName()
Get the senderDisplayName property: The display name of the sender.String
getType()
Get the type property: The type of the message.Long
getVersion()
Get the version property: The version of the message.AcsChatMessageEventInThreadBaseProperties
setComposeTime(OffsetDateTime composeTime)
Set the composeTime property: The original compose time of the message.AcsChatMessageEventInThreadBaseProperties
setMessageId(String messageId)
Set the messageId property: The chat message id.AcsChatMessageEventInThreadBaseProperties
setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)
Set the senderCommunicationIdentifier property: The communication identifier of the sender.AcsChatMessageEventInThreadBaseProperties
setSenderDisplayName(String senderDisplayName)
Set the senderDisplayName property: The display name of the sender.AcsChatMessageEventInThreadBaseProperties
setThreadId(String threadId)
Set the threadId property: The chat thread id.AcsChatMessageEventInThreadBaseProperties
setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.AcsChatMessageEventInThreadBaseProperties
setType(String type)
Set the type property: The type of the message.AcsChatMessageEventInThreadBaseProperties
setVersion(Long version)
Set the version property: The version of the message.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
-
-
-
Method Detail
-
getMessageId
public String getMessageId()
Get the messageId property: The chat message id.- Returns:
- the messageId value.
-
setMessageId
public AcsChatMessageEventInThreadBaseProperties setMessageId(String messageId)
Set the messageId property: The chat message id.- Parameters:
messageId
- the messageId value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
getSenderCommunicationIdentifier
public CommunicationIdentifierModel getSenderCommunicationIdentifier()
Get the senderCommunicationIdentifier property: The communication identifier of the sender.- Returns:
- the senderCommunicationIdentifier value.
-
setSenderCommunicationIdentifier
public AcsChatMessageEventInThreadBaseProperties setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)
Set the senderCommunicationIdentifier property: The communication identifier of the sender.- Parameters:
senderCommunicationIdentifier
- the senderCommunicationIdentifier value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
getSenderDisplayName
public String getSenderDisplayName()
Get the senderDisplayName property: The display name of the sender.- Returns:
- the senderDisplayName value.
-
setSenderDisplayName
public AcsChatMessageEventInThreadBaseProperties setSenderDisplayName(String senderDisplayName)
Set the senderDisplayName property: The display name of the sender.- Parameters:
senderDisplayName
- the senderDisplayName value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
getComposeTime
public OffsetDateTime getComposeTime()
Get the composeTime property: The original compose time of the message.- Returns:
- the composeTime value.
-
setComposeTime
public AcsChatMessageEventInThreadBaseProperties setComposeTime(OffsetDateTime composeTime)
Set the composeTime property: The original compose time of the message.- Parameters:
composeTime
- the composeTime value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
getType
public String getType()
Get the type property: The type of the message.- Returns:
- the type value.
-
setType
public AcsChatMessageEventInThreadBaseProperties setType(String type)
Set the type property: The type of the message.- Parameters:
type
- the type value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
getVersion
public Long getVersion()
Get the version property: The version of the message.- Returns:
- the version value.
-
setVersion
public AcsChatMessageEventInThreadBaseProperties setVersion(Long version)
Set the version property: The version of the message.- Parameters:
version
- the version value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setTransactionId
public AcsChatMessageEventInThreadBaseProperties setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatEventInThreadBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
public AcsChatMessageEventInThreadBaseProperties setThreadId(String threadId)
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatEventInThreadBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
-