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

package com.azure.resourcemanager.securityinsights.models;

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

/** The insight chart query. */
@Fluent
public final class InsightQueryItemPropertiesReferenceTimeRange {
    /*
     * Additional query time for looking back.
     */
    @JsonProperty(value = "beforeRange")
    private String beforeRange;

    /**
     * Get the beforeRange property: Additional query time for looking back.
     *
     * @return the beforeRange value.
     */
    public String beforeRange() {
        return this.beforeRange;
    }

    /**
     * Set the beforeRange property: Additional query time for looking back.
     *
     * @param beforeRange the beforeRange value to set.
     * @return the InsightQueryItemPropertiesReferenceTimeRange object itself.
     */
    public InsightQueryItemPropertiesReferenceTimeRange withBeforeRange(String beforeRange) {
        this.beforeRange = beforeRange;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
