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

package com.azure.resourcemanager.hardwaresecuritymodules.implementation;

import com.azure.resourcemanager.hardwaresecuritymodules.fluent.models.DedicatedHsmOperationInner;
import com.azure.resourcemanager.hardwaresecuritymodules.models.DedicatedHsmOperation;
import com.azure.resourcemanager.hardwaresecuritymodules.models.DedicatedHsmOperationDisplay;

public final class DedicatedHsmOperationImpl implements DedicatedHsmOperation {
    private DedicatedHsmOperationInner innerObject;

    private final com.azure.resourcemanager.hardwaresecuritymodules.HardwareSecurityModulesManager serviceManager;

    DedicatedHsmOperationImpl(
        DedicatedHsmOperationInner innerObject,
        com.azure.resourcemanager.hardwaresecuritymodules.HardwareSecurityModulesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.hardwaresecuritymodules.HardwareSecurityModulesManager manager() {
        return this.serviceManager;
    }
}
