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

package com.azure.resourcemanager.network.models;

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

/** The flags type to be captured. */
public final class AzureFirewallPacketCaptureFlagsType
    extends ExpandableStringEnum<AzureFirewallPacketCaptureFlagsType> {
    /** Static value fin for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType FIN = fromString("fin");

    /** Static value syn for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType SYN = fromString("syn");

    /** Static value rst for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType RST = fromString("rst");

    /** Static value push for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType PUSH = fromString("push");

    /** Static value ack for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType ACK = fromString("ack");

    /** Static value urg for AzureFirewallPacketCaptureFlagsType. */
    public static final AzureFirewallPacketCaptureFlagsType URG = fromString("urg");

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

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

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