// 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;

/** The severity to relate to the assessments generated by this assessment automation. */
public final class SeverityEnum extends ExpandableStringEnum<SeverityEnum> {
    /** Static value High for SeverityEnum. */
    public static final SeverityEnum HIGH = fromString("High");

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

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

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

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

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