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

package com.azure.resourcemanager.cosmos.models;

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

/** Describes the types of schema for analytical storage. */
public final class AnalyticalStorageSchemaType extends ExpandableStringEnum<AnalyticalStorageSchemaType> {
    /** Static value WellDefined for AnalyticalStorageSchemaType. */
    public static final AnalyticalStorageSchemaType WELL_DEFINED = fromString("WellDefined");

    /** Static value FullFidelity for AnalyticalStorageSchemaType. */
    public static final AnalyticalStorageSchemaType FULL_FIDELITY = fromString("FullFidelity");

    /**
     * Creates a new instance of AnalyticalStorageSchemaType value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AnalyticalStorageSchemaType() {
    }

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

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