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

package com.azure.media.videoanalyzer.edge.models;

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

/** Defines values for SpatialAnalysisPersonZoneCrossingEventType. */
public final class SpatialAnalysisPersonZoneCrossingEventType
        extends ExpandableStringEnum<SpatialAnalysisPersonZoneCrossingEventType> {
    /** Static value zoneCrossing for SpatialAnalysisPersonZoneCrossingEventType. */
    public static final SpatialAnalysisPersonZoneCrossingEventType ZONE_CROSSING = fromString("zoneCrossing");

    /** Static value zoneDwellTime for SpatialAnalysisPersonZoneCrossingEventType. */
    public static final SpatialAnalysisPersonZoneCrossingEventType ZONE_DWELL_TIME = fromString("zoneDwellTime");

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

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