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

package com.azure.resourcemanager.kusto.implementation;

import com.azure.resourcemanager.kusto.fluent.models.DiagnoseVirtualNetworkResultInner;
import com.azure.resourcemanager.kusto.models.DiagnoseVirtualNetworkResult;
import java.util.Collections;
import java.util.List;

public final class DiagnoseVirtualNetworkResultImpl implements DiagnoseVirtualNetworkResult {
    private DiagnoseVirtualNetworkResultInner innerObject;

    private final com.azure.resourcemanager.kusto.KustoManager serviceManager;

    DiagnoseVirtualNetworkResultImpl(
        DiagnoseVirtualNetworkResultInner innerObject, com.azure.resourcemanager.kusto.KustoManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public List<String> findings() {
        List<String> inner = this.innerModel().findings();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

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

    private com.azure.resourcemanager.kusto.KustoManager manager() {
        return this.serviceManager;
    }
}
