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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** The progress health. */
public final class DiskReplicationProgressHealth extends ExpandableStringEnum<DiskReplicationProgressHealth> {
    /** Static value None for DiskReplicationProgressHealth. */
    public static final DiskReplicationProgressHealth NONE = fromString("None");

    /** Static value InProgress for DiskReplicationProgressHealth. */
    public static final DiskReplicationProgressHealth IN_PROGRESS = fromString("InProgress");

    /** Static value SlowProgress for DiskReplicationProgressHealth. */
    public static final DiskReplicationProgressHealth SLOW_PROGRESS = fromString("SlowProgress");

    /** Static value NoProgress for DiskReplicationProgressHealth. */
    public static final DiskReplicationProgressHealth NO_PROGRESS = fromString("NoProgress");

    /** Static value Queued for DiskReplicationProgressHealth. */
    public static final DiskReplicationProgressHealth QUEUED = fromString("Queued");

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

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

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