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

package com.azure.resourcemanager.synapse.implementation;

import com.azure.resourcemanager.synapse.fluent.models.SqlPoolUsageInner;
import com.azure.resourcemanager.synapse.models.SqlPoolUsage;
import java.time.OffsetDateTime;

public final class SqlPoolUsageImpl implements SqlPoolUsage {
    private SqlPoolUsageInner innerObject;

    private final com.azure.resourcemanager.synapse.SynapseManager serviceManager;

    SqlPoolUsageImpl(SqlPoolUsageInner innerObject, com.azure.resourcemanager.synapse.SynapseManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    public OffsetDateTime nextResetTime() {
        return this.innerModel().nextResetTime();
    }

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

    private com.azure.resourcemanager.synapse.SynapseManager manager() {
        return this.serviceManager;
    }
}
