// 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;

/** Possible log types. */
public final class LogType extends ExpandableStringEnum<LogType> {
    /** Static value TRAFFIC for LogType. */
    public static final LogType TRAFFIC = fromString("TRAFFIC");

    /** Static value THREAT for LogType. */
    public static final LogType THREAT = fromString("THREAT");

    /** Static value DECRYPTION for LogType. */
    public static final LogType DECRYPTION = fromString("DECRYPTION");

    /** Static value WILDFIRE for LogType. */
    public static final LogType WILDFIRE = fromString("WILDFIRE");

    /** Static value DLP for LogType. */
    public static final LogType DLP = fromString("DLP");

    /** Static value AUDIT for LogType. */
    public static final LogType AUDIT = fromString("AUDIT");

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

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

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