// 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.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for AcsEventTypeInternal. */
public final class AcsEventTypeInternal extends ExpandableStringEnum<AcsEventTypeInternal> {
    /** Static value unknown for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal UNKNOWN = fromString("unknown");

    /** Static value callConnected for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal CALL_CONNECTED = fromString("callConnected");

    /** Static value callDisconnected for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal CALL_DISCONNECTED = fromString("callDisconnected");

    /** Static value callTransferAccepted for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal CALL_TRANSFER_ACCEPTED = fromString("callTransferAccepted");

    /** Static value callTransferFailed for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal CALL_TRANSFER_FAILED = fromString("callTransferFailed");

    /** Static value addParticipantsSucceeded for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal ADD_PARTICIPANTS_SUCCEEDED = fromString("addParticipantsSucceeded");

    /** Static value addParticipantsFailed for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal ADD_PARTICIPANTS_FAILED = fromString("addParticipantsFailed");

    /** Static value participantsUpdated for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal PARTICIPANTS_UPDATED = fromString("participantsUpdated");

    /** Static value recordingStateChanged for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal RECORDING_STATE_CHANGED = fromString("recordingStateChanged");

    /** Static value playCompleted for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal PLAY_COMPLETED = fromString("playCompleted");

    /** Static value playFailed for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal PLAY_FAILED = fromString("playFailed");

    /** Static value recognizeCompleted for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal RECOGNIZE_COMPLETED = fromString("recognizeCompleted");

    /** Static value recognizeFailed for AcsEventTypeInternal. */
    public static final AcsEventTypeInternal RECOGNIZE_FAILED = fromString("recognizeFailed");

    /**
     * Creates or finds a AcsEventTypeInternal from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AcsEventTypeInternal.
     */
    @JsonCreator
    public static AcsEventTypeInternal fromString(String name) {
        return fromString(name, AcsEventTypeInternal.class);
    }

    /** @return known AcsEventTypeInternal values. */
    public static Collection<AcsEventTypeInternal> values() {
        return values(AcsEventTypeInternal.class);
    }
}
