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

package com.azure.resourcemanager.datamigration.implementation;

import com.azure.resourcemanager.datamigration.fluent.models.QuotaInner;
import com.azure.resourcemanager.datamigration.models.Quota;
import com.azure.resourcemanager.datamigration.models.QuotaName;

public final class QuotaImpl implements Quota {
    private QuotaInner innerObject;

    private final com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager;

    QuotaImpl(QuotaInner innerObject, com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.datamigration.DataMigrationManager manager() {
        return this.serviceManager;
    }
}
