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

package com.azure.resourcemanager.security.models;

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

/** Defines the minimal alert severity which will be sent as email notifications. */
public final class MinimalSeverity extends ExpandableStringEnum<MinimalSeverity> {
    /** Static value High for MinimalSeverity. */
    public static final MinimalSeverity HIGH = fromString("High");

    /** Static value Medium for MinimalSeverity. */
    public static final MinimalSeverity MEDIUM = fromString("Medium");

    /** Static value Low for MinimalSeverity. */
    public static final MinimalSeverity LOW = fromString("Low");

    /**
     * Creates a new instance of MinimalSeverity value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public MinimalSeverity() {
    }

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

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