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

package com.azure.resourcemanager.storagepool.implementation;

import com.azure.resourcemanager.storagepool.fluent.models.StoragePoolRPOperationInner;
import com.azure.resourcemanager.storagepool.models.StoragePoolOperationDisplay;
import com.azure.resourcemanager.storagepool.models.StoragePoolRPOperation;

public final class StoragePoolRPOperationImpl implements StoragePoolRPOperation {
    private StoragePoolRPOperationInner innerObject;

    private final com.azure.resourcemanager.storagepool.StoragePoolManager serviceManager;

    StoragePoolRPOperationImpl(
        StoragePoolRPOperationInner innerObject,
        com.azure.resourcemanager.storagepool.StoragePoolManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.storagepool.StoragePoolManager manager() {
        return this.serviceManager;
    }
}
