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

package com.azure.resourcemanager.advisor.implementation;

import com.azure.resourcemanager.advisor.fluent.models.OperationEntityInner;
import com.azure.resourcemanager.advisor.models.OperationDisplayInfo;
import com.azure.resourcemanager.advisor.models.OperationEntity;

public final class OperationEntityImpl implements OperationEntity {
    private OperationEntityInner innerObject;

    private final com.azure.resourcemanager.advisor.AdvisorManager serviceManager;

    OperationEntityImpl(
        OperationEntityInner innerObject, com.azure.resourcemanager.advisor.AdvisorManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

    public OperationDisplayInfo display() {
        return this.innerModel().display();
    }

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

    private com.azure.resourcemanager.advisor.AdvisorManager manager() {
        return this.serviceManager;
    }
}
