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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

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

/** NetworkType Enum. */
public final class NetworkType extends ExpandableStringEnum<NetworkType> {
    /** Static value VNET for NetworkType. */
    public static final NetworkType VNET = fromString("VNET");

    /** Static value VWAN for NetworkType. */
    public static final NetworkType VWAN = fromString("VWAN");

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

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

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