// 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 the Azure Cognitive Services Spatial Analysis operation eventing configuration. */
@Fluent
public class SpatialAnalysisOperationEventBase {
    /*
     * The event threshold.
     */
    @JsonProperty(value = "threshold")
    private String threshold;

    /*
     * The operation focus type.
     */
    @JsonProperty(value = "focus")
    private SpatialAnalysisOperationFocus focus;

    /**
     * Get the threshold property: The event threshold.
     *
     * @return the threshold value.
     */
    public String getThreshold() {
        return this.threshold;
    }

    /**
     * Set the threshold property: The event threshold.
     *
     * @param threshold the threshold value to set.
     * @return the SpatialAnalysisOperationEventBase object itself.
     */
    public SpatialAnalysisOperationEventBase setThreshold(String threshold) {
        this.threshold = threshold;
        return this;
    }

    /**
     * Get the focus property: The operation focus type.
     *
     * @return the focus value.
     */
    public SpatialAnalysisOperationFocus getFocus() {
        return this.focus;
    }

    /**
     * Set the focus property: The operation focus type.
     *
     * @param focus the focus value to set.
     * @return the SpatialAnalysisOperationEventBase object itself.
     */
    public SpatialAnalysisOperationEventBase setFocus(SpatialAnalysisOperationFocus focus) {
        this.focus = focus;
        return this;
    }
}
