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

package com.azure.resourcemanager.mobilenetwork.models;

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

/** Service data flow direction. */
public final class SdfDirection extends ExpandableStringEnum<SdfDirection> {
    /** Static value Uplink for SdfDirection. */
    public static final SdfDirection UPLINK = fromString("Uplink");

    /** Static value Downlink for SdfDirection. */
    public static final SdfDirection DOWNLINK = fromString("Downlink");

    /** Static value Bidirectional for SdfDirection. */
    public static final SdfDirection BIDIRECTIONAL = fromString("Bidirectional");

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

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

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