ParticipantsUpdatedEventInternal.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.communication.callingserver.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The participant update event. */
@Fluent
public final class ParticipantsUpdatedEventInternal {
/*
* The call connection id.
*/
@JsonProperty(value = "callConnectionId")
private String callConnectionId;
/*
* The list of participants.
*/
@JsonProperty(value = "participants")
private List<CallParticipantInternal> participants;
/**
* Get the callConnectionId property: The call connection id.
*
* @return the callConnectionId value.
*/
public String getCallConnectionId() {
return this.callConnectionId;
}
/**
* Set the callConnectionId property: The call connection id.
*
* @param callConnectionId the callConnectionId value to set.
* @return the ParticipantsUpdatedEventInternal object itself.
*/
public ParticipantsUpdatedEventInternal setCallConnectionId(String callConnectionId) {
this.callConnectionId = callConnectionId;
return this;
}
/**
* Get the participants property: The list of participants.
*
* @return the participants value.
*/
public List<CallParticipantInternal> getParticipants() {
return this.participants;
}
/**
* Set the participants property: The list of participants.
*
* @param participants the participants value to set.
* @return the ParticipantsUpdatedEventInternal object itself.
*/
public ParticipantsUpdatedEventInternal setParticipants(List<CallParticipantInternal> participants) {
this.participants = participants;
return this;
}
}