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

package com.azure.resourcemanager.changeanalysis.implementation;

import com.azure.resourcemanager.changeanalysis.fluent.models.ResourceProviderOperationDefinitionInner;
import com.azure.resourcemanager.changeanalysis.models.ResourceProviderOperationDefinition;
import com.azure.resourcemanager.changeanalysis.models.ResourceProviderOperationDisplay;

public final class ResourceProviderOperationDefinitionImpl implements ResourceProviderOperationDefinition {
    private ResourceProviderOperationDefinitionInner innerObject;

    private final com.azure.resourcemanager.changeanalysis.AzureChangeAnalysisManager serviceManager;

    ResourceProviderOperationDefinitionImpl(
        ResourceProviderOperationDefinitionInner innerObject,
        com.azure.resourcemanager.changeanalysis.AzureChangeAnalysisManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    private com.azure.resourcemanager.changeanalysis.AzureChangeAnalysisManager manager() {
        return this.serviceManager;
    }
}
