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

package com.azure.resourcemanager.avs.implementation;

import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner;
import com.azure.resourcemanager.avs.models.VMTypeEnum;
import com.azure.resourcemanager.avs.models.WorkloadNetworkVirtualMachine;

public final class WorkloadNetworkVirtualMachineImpl implements WorkloadNetworkVirtualMachine {
    private WorkloadNetworkVirtualMachineInner innerObject;

    private final com.azure.resourcemanager.avs.AvsManager serviceManager;

    WorkloadNetworkVirtualMachineImpl(
        WorkloadNetworkVirtualMachineInner innerObject, com.azure.resourcemanager.avs.AvsManager 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 String displayName() {
        return this.innerModel().displayName();
    }

    public VMTypeEnum vmType() {
        return this.innerModel().vmType();
    }

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

    private com.azure.resourcemanager.avs.AvsManager manager() {
        return this.serviceManager;
    }
}
