// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.authorization.fluent.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** chatMessageImportance. */
public final class MicrosoftGraphChatMessageImportance
    extends ExpandableStringEnum<MicrosoftGraphChatMessageImportance> {
    /** Static value normal for MicrosoftGraphChatMessageImportance. */
    public static final MicrosoftGraphChatMessageImportance NORMAL = fromString("normal");

    /** Static value high for MicrosoftGraphChatMessageImportance. */
    public static final MicrosoftGraphChatMessageImportance HIGH = fromString("high");

    /** Static value urgent for MicrosoftGraphChatMessageImportance. */
    public static final MicrosoftGraphChatMessageImportance URGENT = fromString("urgent");

    /** Static value unknownFutureValue for MicrosoftGraphChatMessageImportance. */
    public static final MicrosoftGraphChatMessageImportance UNKNOWN_FUTURE_VALUE = fromString("unknownFutureValue");

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

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