// 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 move resource input type. */
public final class MoveResourceInputType extends ExpandableStringEnum<MoveResourceInputType> {
    /** Static value MoveResourceId for MoveResourceInputType. */
    public static final MoveResourceInputType MOVE_RESOURCE_ID = fromString("MoveResourceId");

    /** Static value MoveResourceSourceId for MoveResourceInputType. */
    public static final MoveResourceInputType MOVE_RESOURCE_SOURCE_ID = fromString("MoveResourceSourceId");

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

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

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