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

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

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.avs.models.QuotaEnabled;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Subscription quotas. */
@Immutable
public final class QuotaInner {
    /*
     * Remaining hosts quota by sku type
     */
    @JsonProperty(value = "hostsRemaining", access = JsonProperty.Access.WRITE_ONLY)
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map<String, Integer> hostsRemaining;

    /*
     * Host quota is active for current subscription
     */
    @JsonProperty(value = "quotaEnabled", access = JsonProperty.Access.WRITE_ONLY)
    private QuotaEnabled quotaEnabled;

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

    /**
     * Get the hostsRemaining property: Remaining hosts quota by sku type.
     *
     * @return the hostsRemaining value.
     */
    public Map<String, Integer> hostsRemaining() {
        return this.hostsRemaining;
    }

    /**
     * Get the quotaEnabled property: Host quota is active for current subscription.
     *
     * @return the quotaEnabled value.
     */
    public QuotaEnabled quotaEnabled() {
        return this.quotaEnabled;
    }

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