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

package com.azure.resourcemanager.devspaces.implementation;

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

public final class ResourceProviderOperationDefinitionImpl implements ResourceProviderOperationDefinition {
    private ResourceProviderOperationDefinitionInner innerObject;

    private final com.azure.resourcemanager.devspaces.DevSpacesManager serviceManager;

    ResourceProviderOperationDefinitionImpl(
        ResourceProviderOperationDefinitionInner innerObject,
        com.azure.resourcemanager.devspaces.DevSpacesManager 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.devspaces.DevSpacesManager manager() {
        return this.serviceManager;
    }
}
