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

    /** Static value communicationUser for CommunicationIdentifierModelKind. */
    public static final CommunicationIdentifierModelKind COMMUNICATION_USER = fromString("communicationUser");

    /** Static value phoneNumber for CommunicationIdentifierModelKind. */
    public static final CommunicationIdentifierModelKind PHONE_NUMBER = fromString("phoneNumber");

    /** Static value microsoftTeamsUser for CommunicationIdentifierModelKind. */
    public static final CommunicationIdentifierModelKind MICROSOFT_TEAMS_USER = fromString("microsoftTeamsUser");

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

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