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

package com.azure.resourcemanager.machinelearningservices.implementation;

import com.azure.resourcemanager.machinelearningservices.fluent.models.ResourceQuotaInner;
import com.azure.resourcemanager.machinelearningservices.models.QuotaUnit;
import com.azure.resourcemanager.machinelearningservices.models.ResourceName;
import com.azure.resourcemanager.machinelearningservices.models.ResourceQuota;

public final class ResourceQuotaImpl implements ResourceQuota {
    private ResourceQuotaInner innerObject;

    private final com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager serviceManager;

    ResourceQuotaImpl(
        ResourceQuotaInner innerObject,
        com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String id() {
        return this.innerModel().id();
    }

    public String amlWorkspaceLocation() {
        return this.innerModel().amlWorkspaceLocation();
    }

    public String type() {
        return this.innerModel().type();
    }

    public ResourceName name() {
        return this.innerModel().name();
    }

    public Long limit() {
        return this.innerModel().limit();
    }

    public QuotaUnit unit() {
        return this.innerModel().unit();
    }

    public ResourceQuotaInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.machinelearningservices.MachineLearningServicesManager manager() {
        return this.serviceManager;
    }
}
