AddParticipantResultInternal.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;

/** The add participant result. */
@Fluent
public final class AddParticipantResultInternal {
    /*
     * The id of the added participant.
     */
    @JsonProperty(value = "participantId")
    private String participantId;

    /**
     * Get the participantId property: The id of the added participant.
     *
     * @return the participantId value.
     */
    public String getParticipantId() {
        return this.participantId;
    }

    /**
     * Set the participantId property: The id of the added participant.
     *
     * @param participantId the participantId value to set.
     * @return the AddParticipantResultInternal object itself.
     */
    public AddParticipantResultInternal setParticipantId(String participantId) {
        this.participantId = participantId;
        return this;
    }
}