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

package com.azure.resourcemanager.automation.implementation;

import com.azure.resourcemanager.automation.fluent.models.StatisticsInner;
import com.azure.resourcemanager.automation.models.Statistics;
import java.time.OffsetDateTime;

public final class StatisticsImpl implements Statistics {
    private StatisticsInner innerObject;

    private final com.azure.resourcemanager.automation.AutomationManager serviceManager;

    StatisticsImpl(StatisticsInner innerObject, com.azure.resourcemanager.automation.AutomationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.automation.AutomationManager manager() {
        return this.serviceManager;
    }
}
