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

package com.azure.resourcemanager.postgresqlflexibleserver.models;

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

/** To trigger cutover for entire migration we need to send this flag as True. */
public final class TriggerCutoverEnum extends ExpandableStringEnum<TriggerCutoverEnum> {
    /** Static value True for TriggerCutoverEnum. */
    public static final TriggerCutoverEnum TRUE = fromString("True");

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

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

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

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