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

package com.azure.resourcemanager.machinelearning.implementation;

import com.azure.resourcemanager.machinelearning.fluent.models.DiagnoseResponseResultInner;
import com.azure.resourcemanager.machinelearning.models.DiagnoseResponseResult;
import com.azure.resourcemanager.machinelearning.models.DiagnoseResponseResultValue;

public final class DiagnoseResponseResultImpl implements DiagnoseResponseResult {
    private DiagnoseResponseResultInner innerObject;

    private final com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager;

    DiagnoseResponseResultImpl(
        DiagnoseResponseResultInner innerObject,
        com.azure.resourcemanager.machinelearning.MachineLearningManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public DiagnoseResponseResultValue value() {
        return this.innerModel().value();
    }

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

    private com.azure.resourcemanager.machinelearning.MachineLearningManager manager() {
        return this.serviceManager;
    }
}
