// 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.LinkedWorkspaceInner;
import com.azure.resourcemanager.automation.models.LinkedWorkspace;

public final class LinkedWorkspaceImpl implements LinkedWorkspace {
    private LinkedWorkspaceInner innerObject;

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

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

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

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

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