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

package com.azure.resourcemanager.appcomplianceautomation.models;

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

/** Indicates the assessment severity. */
public final class AssessmentSeverity extends ExpandableStringEnum<AssessmentSeverity> {
    /** Static value High for AssessmentSeverity. */
    public static final AssessmentSeverity HIGH = fromString("High");

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

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

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

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