/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * abc
 */

package com.microsoft.azure.management.recoveryservices.backup.v2016_12_01.implementation;

import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.recoveryservices.backup.v2016_12_01.JobOperationResults;
import rx.Completable;

class JobOperationResultsImpl extends WrapperImpl<JobOperationResultsInner> implements JobOperationResults {
    private final RecoveryServicesManager manager;

    JobOperationResultsImpl(RecoveryServicesManager manager) {
        super(manager.inner().jobOperationResults());
        this.manager = manager;
    }

    public RecoveryServicesManager manager() {
        return this.manager;
    }

    @Override
    public Completable getAsync(String vaultName, String resourceGroupName, String jobName, String operationId) {
        JobOperationResultsInner client = this.inner();
        return client.getAsync(vaultName, resourceGroupName, jobName, operationId).toCompletable();
    }

}
