AcsChatEventBaseProperties Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. AcsChatEventBaseProperties
- com.
Implements
public class AcsChatEventBaseProperties
implements JsonSerializable<AcsChatEventBaseProperties>
Schema of common properties of all chat events.
Constructor Summary
Constructor | Description |
---|---|
AcsChatEventBaseProperties() |
Creates an instance of Acs |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Acs |
fromJson(JsonReader jsonReader)
Reads an instance of Acs |
Communication |
getRecipientCommunicationIdentifier()
Get the recipient |
String |
getThreadId()
Get the thread |
String |
getTransactionId()
Get the transaction |
Acs |
setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipient |
Acs |
setThreadId(String threadId)
Set the thread |
Acs |
setTransactionId(String transactionId)
Set the transaction |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AcsChatEventBaseProperties
public AcsChatEventBaseProperties()
Creates an instance of AcsChatEventBaseProperties class.
Method Details
fromJson
public static AcsChatEventBaseProperties fromJson(JsonReader jsonReader)
Reads an instance of AcsChatEventBaseProperties from the JsonReader.
Parameters:
Returns:
Throws:
getRecipientCommunicationIdentifier
public CommunicationIdentifierModel getRecipientCommunicationIdentifier()
Get the recipientCommunicationIdentifier property: The communication identifier of the target user.
Returns:
getThreadId
public String getThreadId()
Get the threadId property: The chat thread id.
Returns:
getTransactionId
public String getTransactionId()
Get the transactionId property: The transaction id will be used as co-relation vector.
Returns:
setRecipientCommunicationIdentifier
public AcsChatEventBaseProperties setRecipientCommunicationIdentifier(CommunicationIdentifierModel recipientCommunicationIdentifier)
Set the recipientCommunicationIdentifier property: The communication identifier of the target user.
Parameters:
Returns:
setThreadId
public AcsChatEventBaseProperties setThreadId(String threadId)
Set the threadId property: The chat thread id.
Parameters:
Returns:
setTransactionId
public AcsChatEventBaseProperties setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for