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

package com.azure.resourcemanager.resourcemover.models;

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

/** Defines the resolution type. */
public final class ResolutionType extends ExpandableStringEnum<ResolutionType> {
    /** Static value Manual for ResolutionType. */
    public static final ResolutionType MANUAL = fromString("Manual");

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

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

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

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