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

package com.azure.resourcemanager.networkcloud.models;

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

/**
 * The indicator of if this advertisement is also made to the network fabric associated with the Network Cloud Cluster.
 * This field is ignored if fabricPeeringEnabled is set to False.
 */
public final class AdvertiseToFabric extends ExpandableStringEnum<AdvertiseToFabric> {
    /** Static value True for AdvertiseToFabric. */
    public static final AdvertiseToFabric TRUE = fromString("True");

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

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

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

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