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

package com.azure.resourcemanager.labservices.models;

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

/** The localized name of the resource. */
public final class ScaleType extends ExpandableStringEnum<ScaleType> {
    /** Static value None for ScaleType. */
    public static final ScaleType NONE = fromString("None");

    /** Static value Manual for ScaleType. */
    public static final ScaleType MANUAL = fromString("Manual");

    /** Static value Automatic for ScaleType. */
    public static final ScaleType AUTOMATIC = fromString("Automatic");

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

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