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

package com.azure.resourcemanager.quota.implementation;

import com.azure.resourcemanager.quota.fluent.models.CurrentUsagesBaseInner;
import com.azure.resourcemanager.quota.models.CurrentUsagesBase;
import com.azure.resourcemanager.quota.models.UsagesProperties;

public final class CurrentUsagesBaseImpl implements CurrentUsagesBase {
    private CurrentUsagesBaseInner innerObject;

    private final com.azure.resourcemanager.quota.QuotaManager serviceManager;

    CurrentUsagesBaseImpl(
        CurrentUsagesBaseInner innerObject, com.azure.resourcemanager.quota.QuotaManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    public UsagesProperties properties() {
        return this.innerModel().properties();
    }

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

    private com.azure.resourcemanager.quota.QuotaManager manager() {
        return this.serviceManager;
    }
}
