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

package com.azure.resourcemanager.iothub.implementation;

import com.azure.resourcemanager.iothub.fluent.models.RegistryStatisticsInner;
import com.azure.resourcemanager.iothub.models.RegistryStatistics;

public final class RegistryStatisticsImpl implements RegistryStatistics {
    private RegistryStatisticsInner innerObject;

    private final com.azure.resourcemanager.iothub.IotHubManager serviceManager;

    RegistryStatisticsImpl(
        RegistryStatisticsInner innerObject, com.azure.resourcemanager.iothub.IotHubManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.iothub.IotHubManager manager() {
        return this.serviceManager;
    }
}
