// 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 CallLocatorKindInternal. */
public final class CallLocatorKindInternal extends ExpandableStringEnum<CallLocatorKindInternal> {
    /** Static value groupCallLocator for CallLocatorKindInternal. */
    public static final CallLocatorKindInternal GROUP_CALL_LOCATOR = fromString("groupCallLocator");

    /** Static value serverCallLocator for CallLocatorKindInternal. */
    public static final CallLocatorKindInternal SERVER_CALL_LOCATOR = fromString("serverCallLocator");

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

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