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

package com.azure.resourcemanager.logic.models;

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

/** The track events operation options. */
public final class TrackEventsOperationOptions extends ExpandableStringEnum<TrackEventsOperationOptions> {
    /** Static value None for TrackEventsOperationOptions. */
    public static final TrackEventsOperationOptions NONE = fromString("None");

    /** Static value DisableSourceInfoEnrich for TrackEventsOperationOptions. */
    public static final TrackEventsOperationOptions DISABLE_SOURCE_INFO_ENRICH = fromString("DisableSourceInfoEnrich");

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

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

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