// 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.core.management.SystemData;
import com.azure.resourcemanager.newrelicobservability.fluent.models.AccountResourceInner;
import com.azure.resourcemanager.newrelicobservability.models.AccountResource;

public final class AccountResourceImpl implements AccountResource {
    private AccountResourceInner innerObject;

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

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

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

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

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

    public SystemData systemData() {
        return this.innerModel().systemData();
    }

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

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

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

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

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

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