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

/** Insights Column type. */
public final class OutputType extends ExpandableStringEnum<OutputType> {
    /** Static value Number for OutputType. */
    public static final OutputType NUMBER = fromString("Number");

    /** Static value String for OutputType. */
    public static final OutputType STRING = fromString("String");

    /** Static value Date for OutputType. */
    public static final OutputType DATE = fromString("Date");

    /** Static value Entity for OutputType. */
    public static final OutputType ENTITY = fromString("Entity");

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

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