// 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 query kind. */
public final class GetInsightsError extends ExpandableStringEnum<GetInsightsError> {
    /** Static value Insight for GetInsightsError. */
    public static final GetInsightsError INSIGHT = fromString("Insight");

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

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