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

package com.azure.resourcemanager.loganalytics.models;

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

/** Defines values for TablePlanEnum. */
public final class TablePlanEnum extends ExpandableStringEnum<TablePlanEnum> {
    /** Static value Basic for TablePlanEnum. */
    public static final TablePlanEnum BASIC = fromString("Basic");

    /** Static value Analytics for TablePlanEnum. */
    public static final TablePlanEnum ANALYTICS = fromString("Analytics");

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

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