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

package com.azure.resourcemanager.iothub.fluent.models;

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

/** Quota metrics properties. */
@Immutable
public final class IotHubQuotaMetricInfoInner {
    /*
     * The name of the quota metric.
     */
    @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * The current value for the quota metric.
     */
    @JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY)
    private Long currentValue;

    /*
     * The maximum value of the quota metric.
     */
    @JsonProperty(value = "maxValue", access = JsonProperty.Access.WRITE_ONLY)
    private Long maxValue;

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

    /**
     * Get the name property: The name of the quota metric.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Get the currentValue property: The current value for the quota metric.
     *
     * @return the currentValue value.
     */
    public Long currentValue() {
        return this.currentValue;
    }

    /**
     * Get the maxValue property: The maximum value of the quota metric.
     *
     * @return the maxValue value.
     */
    public Long maxValue() {
        return this.maxValue;
    }

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