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

package com.azure.resourcemanager.devcenter.models;

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

/** Properties for a range of values. */
@Immutable
public final class ResourceRange {
    /*
     * Minimum value.
     */
    @JsonProperty(value = "min", access = JsonProperty.Access.WRITE_ONLY)
    private Integer min;

    /*
     * Maximum value.
     */
    @JsonProperty(value = "max", access = JsonProperty.Access.WRITE_ONLY)
    private Integer max;

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

    /**
     * Get the min property: Minimum value.
     *
     * @return the min value.
     */
    public Integer min() {
        return this.min;
    }

    /**
     * Get the max property: Maximum value.
     *
     * @return the max value.
     */
    public Integer max() {
        return this.max;
    }

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