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

package com.azure.resourcemanager.managednetworkfabric.models;

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

/** Advertise Static Routes. Ex: "True" | "False". */
public final class RedistributeStaticRoutes extends ExpandableStringEnum<RedistributeStaticRoutes> {
    /** Static value True for RedistributeStaticRoutes. */
    public static final RedistributeStaticRoutes TRUE = fromString("True");

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

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

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

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