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

package com.azure.resourcemanager.datamigration.models;

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

/** Type of the actual difference for the compared object, while performing schema comparison. */
public final class UpdateActionType extends ExpandableStringEnum<UpdateActionType> {
    /** Static value DeletedOnTarget for UpdateActionType. */
    public static final UpdateActionType DELETED_ON_TARGET = fromString("DeletedOnTarget");

    /** Static value ChangedOnTarget for UpdateActionType. */
    public static final UpdateActionType CHANGED_ON_TARGET = fromString("ChangedOnTarget");

    /** Static value AddedOnTarget for UpdateActionType. */
    public static final UpdateActionType ADDED_ON_TARGET = fromString("AddedOnTarget");

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

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

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