AcsChatParticipantRemovedFromThreadEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. AcsChatEventInThreadBaseProperties - com.
azure. messaging. eventgrid. systemevents. AcsChatParticipantRemovedFromThreadEventData
- com.
- com.
public final class AcsChatParticipantRemovedFromThreadEventData
extends AcsChatEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event.
Constructor | Description |
---|---|
Acs |
Creates an instance of Acs |
Modifier and Type | Method and Description |
---|---|
static
Acs |
from Reads an instance of Acs |
Acs |
get Get the participant |
Communication |
get Get the removed |
Offset |
get Get the time property: The time at which the user was removed to the thread. |
Long |
get Get the version property: The version of the thread. |
Acs |
set Set the participant |
Acs |
set Set the removed |
Acs |
set Set the thread |
Acs |
set Set the time property: The time at which the user was removed to the thread. |
Acs |
set Set the transaction |
Acs |
set Set the version property: The version of the thread. |
Json |
to |
Methods inherited from AcsChatEventInThreadBaseProperties
Methods inherited from java.lang.Object
AcsChatParticipantRemovedFromThreadEventData
public AcsChatParticipantRemovedFromThreadEventData()
Creates an instance of AcsChatParticipantRemovedFromThreadEventData class.
fromJson
public static AcsChatParticipantRemovedFromThreadEventData fromJson(JsonReader jsonReader)
Reads an instance of AcsChatParticipantRemovedFromThreadEventData from the JsonReader.
Parameters:
Returns:
Throws:
getParticipantRemoved
public AcsChatThreadParticipantProperties getParticipantRemoved()
Get the participantRemoved property: The details of the user who was removed.
Returns:
getRemovedByCommunicationIdentifier
public CommunicationIdentifierModel getRemovedByCommunicationIdentifier()
Get the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.
Returns:
getTime
public OffsetDateTime getTime()
Get the time property: The time at which the user was removed to the thread.
Returns:
getVersion
public Long getVersion()
Get the version property: The version of the thread.
Returns:
setParticipantRemoved
public AcsChatParticipantRemovedFromThreadEventData setParticipantRemoved(AcsChatThreadParticipantProperties participantRemoved)
Set the participantRemoved property: The details of the user who was removed.
Parameters:
Returns:
setRemovedByCommunicationIdentifier
public AcsChatParticipantRemovedFromThreadEventData setRemovedByCommunicationIdentifier(CommunicationIdentifierModel removedByCommunicationIdentifier)
Set the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.
Parameters:
Returns:
setThreadId
public AcsChatParticipantRemovedFromThreadEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.
Overrides:
AcsChatParticipantRemovedFromThreadEventData.setThreadId(String threadId)Parameters:
setTime
public AcsChatParticipantRemovedFromThreadEventData setTime(OffsetDateTime time)
Set the time property: The time at which the user was removed to the thread.
Parameters:
Returns:
setTransactionId
public AcsChatParticipantRemovedFromThreadEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.
Overrides:
AcsChatParticipantRemovedFromThreadEventData.setTransactionId(String transactionId)Parameters:
setVersion
public AcsChatParticipantRemovedFromThreadEventData setVersion(Long version)
Set the version property: The version of the thread.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AcsChatParticipantRemovedFromThreadEventData.toJson(JsonWriter jsonWriter)Parameters:
Throws:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: