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

package com.azure.resourcemanager.voiceservices.models;

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

/** How this deployment connects back to the operator network. */
public final class Connectivity extends ExpandableStringEnum<Connectivity> {
    /** Static value PublicAddress for Connectivity. */
    public static final Connectivity PUBLIC_ADDRESS = fromString("PublicAddress");

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

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

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