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

package com.azure.resourcemanager.dynatrace.implementation;

import com.azure.resourcemanager.dynatrace.fluent.models.MonitoredResourceInner;
import com.azure.resourcemanager.dynatrace.models.MonitoredResource;
import com.azure.resourcemanager.dynatrace.models.SendingLogsStatus;
import com.azure.resourcemanager.dynatrace.models.SendingMetricsStatus;

public final class MonitoredResourceImpl implements MonitoredResource {
    private MonitoredResourceInner innerObject;

    private final com.azure.resourcemanager.dynatrace.DynatraceManager serviceManager;

    MonitoredResourceImpl(
        MonitoredResourceInner innerObject, com.azure.resourcemanager.dynatrace.DynatraceManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

    public SendingMetricsStatus sendingMetrics() {
        return this.innerModel().sendingMetrics();
    }

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

    public SendingLogsStatus sendingLogs() {
        return this.innerModel().sendingLogs();
    }

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

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

    private com.azure.resourcemanager.dynatrace.DynatraceManager manager() {
        return this.serviceManager;
    }
}
