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

package com.azure.resourcemanager.resourceconnector.implementation;

import com.azure.resourcemanager.resourceconnector.fluent.models.ApplianceOperationInner;
import com.azure.resourcemanager.resourceconnector.models.ApplianceOperation;

public final class ApplianceOperationImpl implements ApplianceOperation {
    private ApplianceOperationInner innerObject;

    private final com.azure.resourcemanager.resourceconnector.AppliancesManager serviceManager;

    ApplianceOperationImpl(
        ApplianceOperationInner innerObject,
        com.azure.resourcemanager.resourceconnector.AppliancesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

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

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

    private com.azure.resourcemanager.resourceconnector.AppliancesManager manager() {
        return this.serviceManager;
    }
}
