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

package com.azure.resourcemanager.labservices.implementation;

import com.azure.resourcemanager.labservices.fluent.models.UsageInner;
import com.azure.resourcemanager.labservices.models.Usage;
import com.azure.resourcemanager.labservices.models.UsageName;
import com.azure.resourcemanager.labservices.models.UsageUnit;

public final class UsageImpl implements Usage {
    private UsageInner innerObject;

    private final com.azure.resourcemanager.labservices.LabServicesManager serviceManager;

    UsageImpl(UsageInner innerObject, com.azure.resourcemanager.labservices.LabServicesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.labservices.LabServicesManager manager() {
        return this.serviceManager;
    }
}
