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

package com.azure.resourcemanager.resourceconnector.implementation;

import com.azure.resourcemanager.resourceconnector.fluent.models.UpgradeGraphInner;
import com.azure.resourcemanager.resourceconnector.models.UpgradeGraph;
import com.azure.resourcemanager.resourceconnector.models.UpgradeGraphProperties;

public final class UpgradeGraphImpl implements UpgradeGraph {
    private UpgradeGraphInner innerObject;

    private final com.azure.resourcemanager.resourceconnector.AppliancesManager serviceManager;

    UpgradeGraphImpl(
        UpgradeGraphInner innerObject, com.azure.resourcemanager.resourceconnector.AppliancesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public UpgradeGraphProperties properties() {
        return this.innerModel().properties();
    }

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

    private com.azure.resourcemanager.resourceconnector.AppliancesManager manager() {
        return this.serviceManager;
    }
}
