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

package com.azure.analytics.synapse.artifacts.models;

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

/** Defines values for ParquetCompressionCodecEnum. */
public final class ParquetCompressionCodecEnum extends ExpandableStringEnum<ParquetCompressionCodecEnum> {
    /** Static value none for ParquetCompressionCodecEnum. */
    public static final ParquetCompressionCodecEnum NONE = fromString("none");

    /** Static value gzip for ParquetCompressionCodecEnum. */
    public static final ParquetCompressionCodecEnum GZIP = fromString("gzip");

    /** Static value snappy for ParquetCompressionCodecEnum. */
    public static final ParquetCompressionCodecEnum SNAPPY = fromString("snappy");

    /** Static value lzo for ParquetCompressionCodecEnum. */
    public static final ParquetCompressionCodecEnum LZO = fromString("lzo");

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

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