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

package com.azure.resourcemanager.vmwarecloudsimple.implementation;

import com.azure.resourcemanager.vmwarecloudsimple.fluent.models.AvailableOperationInner;
import com.azure.resourcemanager.vmwarecloudsimple.models.AvailableOperation;
import com.azure.resourcemanager.vmwarecloudsimple.models.AvailableOperationDisplay;
import com.azure.resourcemanager.vmwarecloudsimple.models.AvailableOperationDisplayPropertyServiceSpecificationMetricsList;
import com.azure.resourcemanager.vmwarecloudsimple.models.OperationOrigin;

public final class AvailableOperationImpl implements AvailableOperation {
    private AvailableOperationInner innerObject;

    private final com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager serviceManager;

    AvailableOperationImpl(
        AvailableOperationInner innerObject,
        com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    public AvailableOperationDisplayPropertyServiceSpecificationMetricsList serviceSpecification() {
        return this.innerModel().serviceSpecification();
    }

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

    private com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager manager() {
        return this.serviceManager;
    }
}
