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

package com.azure.resourcemanager.storage.models;

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

/** This is a required field, it specifies the format for the inventory files. */
public final class Format extends ExpandableStringEnum<Format> {
    /** Static value Csv for Format. */
    public static final Format CSV = fromString("Csv");

    /** Static value Parquet for Format. */
    public static final Format PARQUET = fromString("Parquet");

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

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