// 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.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Defines a Spatial Analysis person crossing zone operation eventing configuration. */
@Fluent
public final class SpatialAnalysisPersonZoneCrossingEvent extends SpatialAnalysisOperationEventBase {
    /*
     * The event type.
     */
    @JsonProperty(value = "eventType")
    private SpatialAnalysisPersonZoneCrossingEventType eventType;

    /**
     * Get the eventType property: The event type.
     *
     * @return the eventType value.
     */
    public SpatialAnalysisPersonZoneCrossingEventType getEventType() {
        return this.eventType;
    }

    /**
     * Set the eventType property: The event type.
     *
     * @param eventType the eventType value to set.
     * @return the SpatialAnalysisPersonZoneCrossingEvent object itself.
     */
    public SpatialAnalysisPersonZoneCrossingEvent setEventType(SpatialAnalysisPersonZoneCrossingEventType eventType) {
        this.eventType = eventType;
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SpatialAnalysisPersonZoneCrossingEvent setThreshold(String threshold) {
        super.setThreshold(threshold);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SpatialAnalysisPersonZoneCrossingEvent setFocus(SpatialAnalysisOperationFocus focus) {
        super.setFocus(focus);
        return this;
    }
}
