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

package com.azure.resourcemanager.datamigration.implementation;

import com.azure.resourcemanager.datamigration.fluent.models.ServiceOperationInner;
import com.azure.resourcemanager.datamigration.models.ServiceOperation;
import com.azure.resourcemanager.datamigration.models.ServiceOperationDisplay;

public final class ServiceOperationImpl implements ServiceOperation {
    private ServiceOperationInner innerObject;

    private final com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager;

    ServiceOperationImpl(
        ServiceOperationInner innerObject,
        com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    private com.azure.resourcemanager.datamigration.DataMigrationManager manager() {
        return this.serviceManager;
    }
}
