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

package com.azure.ai.metricsadvisor.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The SeverityFilterCondition model. */
@Fluent
public final class SeverityFilterCondition {
    /*
     * min severity
     */
    @JsonProperty(value = "min", required = true)
    private Severity min;

    /*
     * max severity
     */
    @JsonProperty(value = "max", required = true)
    private Severity max;

    /** Creates an instance of SeverityFilterCondition class. */
    public SeverityFilterCondition() {}

    /**
     * Get the min property: min severity.
     *
     * @return the min value.
     */
    public Severity getMin() {
        return this.min;
    }

    /**
     * Set the min property: min severity.
     *
     * @param min the min value to set.
     * @return the SeverityFilterCondition object itself.
     */
    public SeverityFilterCondition setMin(Severity min) {
        this.min = min;
        return this;
    }

    /**
     * Get the max property: max severity.
     *
     * @return the max value.
     */
    public Severity getMax() {
        return this.max;
    }

    /**
     * Set the max property: max severity.
     *
     * @param max the max value to set.
     * @return the SeverityFilterCondition object itself.
     */
    public SeverityFilterCondition setMax(Severity max) {
        this.max = max;
        return this;
    }
}
