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

package com.azure.resourcemanager.securityinsights.models;

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

/** The classification reason the incident was closed with. */
public final class IncidentClassificationReason extends ExpandableStringEnum<IncidentClassificationReason> {
    /** Static value SuspiciousActivity for IncidentClassificationReason. */
    public static final IncidentClassificationReason SUSPICIOUS_ACTIVITY = fromString("SuspiciousActivity");

    /** Static value SuspiciousButExpected for IncidentClassificationReason. */
    public static final IncidentClassificationReason SUSPICIOUS_BUT_EXPECTED = fromString("SuspiciousButExpected");

    /** Static value IncorrectAlertLogic for IncidentClassificationReason. */
    public static final IncidentClassificationReason INCORRECT_ALERT_LOGIC = fromString("IncorrectAlertLogic");

    /** Static value InaccurateData for IncidentClassificationReason. */
    public static final IncidentClassificationReason INACCURATE_DATA = fromString("InaccurateData");

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

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