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

package com.azure.resourcemanager.netapp.models;

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

/**
 * quotaType
 *
 * <p>Type of quota.
 */
public final class Type extends ExpandableStringEnum<Type> {
    /** Static value DefaultUserQuota for Type. */
    public static final Type DEFAULT_USER_QUOTA = fromString("DefaultUserQuota");

    /** Static value DefaultGroupQuota for Type. */
    public static final Type DEFAULT_GROUP_QUOTA = fromString("DefaultGroupQuota");

    /** Static value IndividualUserQuota for Type. */
    public static final Type INDIVIDUAL_USER_QUOTA = fromString("IndividualUserQuota");

    /** Static value IndividualGroupQuota for Type. */
    public static final Type INDIVIDUAL_GROUP_QUOTA = fromString("IndividualGroupQuota");

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

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

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