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

package com.azure.resourcemanager.newrelicobservability.implementation;

import com.azure.resourcemanager.newrelicobservability.fluent.models.AppServiceInfoInner;
import com.azure.resourcemanager.newrelicobservability.models.AppServiceInfo;

public final class AppServiceInfoImpl implements AppServiceInfo {
    private AppServiceInfoInner innerObject;

    private final com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager serviceManager;

    AppServiceInfoImpl(
        AppServiceInfoInner innerObject,
        com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager manager() {
        return this.serviceManager;
    }
}
