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

package com.azure.resourcemanager.azurestackhci.models;

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

/** Defines values for DiagnosticLevel. */
public final class DiagnosticLevel extends ExpandableStringEnum<DiagnosticLevel> {
    /** Static value Off for DiagnosticLevel. */
    public static final DiagnosticLevel OFF = fromString("Off");

    /** Static value Basic for DiagnosticLevel. */
    public static final DiagnosticLevel BASIC = fromString("Basic");

    /** Static value Enhanced for DiagnosticLevel. */
    public static final DiagnosticLevel ENHANCED = fromString("Enhanced");

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

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