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

package com.azure.resourcemanager.hybridcontainerservice.implementation;

import com.azure.resourcemanager.hybridcontainerservice.fluent.models.ResourceProviderOperationInner;
import com.azure.resourcemanager.hybridcontainerservice.models.ResourceProviderOperation;
import com.azure.resourcemanager.hybridcontainerservice.models.ResourceProviderOperationDisplay;

public final class ResourceProviderOperationImpl implements ResourceProviderOperation {
    private ResourceProviderOperationInner innerObject;

    private final com.azure.resourcemanager.hybridcontainerservice.HybridContainerServiceManager serviceManager;

    ResourceProviderOperationImpl(
        ResourceProviderOperationInner innerObject,
        com.azure.resourcemanager.hybridcontainerservice.HybridContainerServiceManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.hybridcontainerservice.HybridContainerServiceManager manager() {
        return this.serviceManager;
    }
}
