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

package com.azure.resourcemanager.mysqlflexibleserver.models;

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

/** Whether to reset all server parameters to default. */
public final class ResetAllToDefault extends ExpandableStringEnum<ResetAllToDefault> {
    /** Static value True for ResetAllToDefault. */
    public static final ResetAllToDefault TRUE = fromString("True");

    /** Static value False for ResetAllToDefault. */
    public static final ResetAllToDefault FALSE = fromString("False");

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

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

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