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

package com.azure.resourcemanager.machinelearningservices.models;

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

/** Defines values for QuotaUnit. */
public final class QuotaUnit extends ExpandableStringEnum<QuotaUnit> {
    /** Static value Count for QuotaUnit. */
    public static final QuotaUnit COUNT = fromString("Count");

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

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