AcsCallParticipantRemovedEventData Class

public final class AcsCallParticipantRemovedEventData
extends AcsCallParticipantEventData

Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallParticipantRemoved event.

Method Summary

Modifier and Type Method and Description
static AcsCallParticipantRemovedEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsCallParticipantRemovedEventData from the JsonReader.

String getDisplayName()

Get the displayName property: The display name of the participant.

AcsCallGroupProperties getGroup()

Get the group property: The group metadata.

String getParticipantId()

Get the participantId property: The id of the participant.

AcsCallRoomProperties getRoom()

Get the room property: The room metadata.

AcsCallParticipantProperties getUser()

Get the user property: The user of the call participant.

String getUserAgent()

Get the userAgent property: The user agent of the participant.

Boolean isRoomsCall()

Get the isRoomsCall property: Is the calling event a room call.

Boolean isTwoParty()

Get the isTwoParty property: Is two-party in calling event.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AcsCallParticipantEventData

Methods inherited from AcsCallingEventProperties

Methods inherited from java.lang.Object

Method Details

fromJson

public static AcsCallParticipantRemovedEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsCallParticipantRemovedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AcsCallParticipantRemovedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDisplayName

public String getDisplayName()

Get the displayName property: The display name of the participant.

Overrides:

AcsCallParticipantRemovedEventData.getDisplayName()

Returns:

the displayName value.

getGroup

public AcsCallGroupProperties getGroup()

Get the group property: The group metadata.

Overrides:

AcsCallParticipantRemovedEventData.getGroup()

Returns:

the group value.

getParticipantId

public String getParticipantId()

Get the participantId property: The id of the participant.

Overrides:

AcsCallParticipantRemovedEventData.getParticipantId()

Returns:

the participantId value.

getRoom

public AcsCallRoomProperties getRoom()

Get the room property: The room metadata.

Overrides:

AcsCallParticipantRemovedEventData.getRoom()

Returns:

the room value.

getUser

public AcsCallParticipantProperties getUser()

Get the user property: The user of the call participant.

Overrides:

AcsCallParticipantRemovedEventData.getUser()

Returns:

the user value.

getUserAgent

public String getUserAgent()

Get the userAgent property: The user agent of the participant.

Overrides:

AcsCallParticipantRemovedEventData.getUserAgent()

Returns:

the userAgent value.

isRoomsCall

public Boolean isRoomsCall()

Get the isRoomsCall property: Is the calling event a room call.

Overrides:

AcsCallParticipantRemovedEventData.isRoomsCall()

Returns:

the isRoomsCall value.

isTwoParty

public Boolean isTwoParty()

Get the isTwoParty property: Is two-party in calling event.

Overrides:

AcsCallParticipantRemovedEventData.isTwoParty()

Returns:

the isTwoParty value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AcsCallParticipantRemovedEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to