// 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 SeverityCondition model. */
@Fluent
public final class SeverityCondition {
    /*
     * min alert severity
     */
    @JsonProperty(value = "minAlertSeverity", required = true)
    private Severity minAlertSeverity;

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

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

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

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

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

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