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

package com.azure.resourcemanager.elasticsan.implementation;

import com.azure.resourcemanager.elasticsan.fluent.models.ElasticSanRPOperationInner;
import com.azure.resourcemanager.elasticsan.models.ElasticSanOperationDisplay;
import com.azure.resourcemanager.elasticsan.models.ElasticSanRPOperation;

public final class ElasticSanRPOperationImpl implements ElasticSanRPOperation {
    private ElasticSanRPOperationInner innerObject;

    private final com.azure.resourcemanager.elasticsan.ElasticSanManager serviceManager;

    ElasticSanRPOperationImpl(
        ElasticSanRPOperationInner innerObject, com.azure.resourcemanager.elasticsan.ElasticSanManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.elasticsan.ElasticSanManager manager() {
        return this.serviceManager;
    }
}
