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

package com.azure.resourcemanager.agrifood.implementation;

import com.azure.resourcemanager.agrifood.fluent.models.ArmAsyncOperationInner;
import com.azure.resourcemanager.agrifood.models.ArmAsyncOperation;

public final class ArmAsyncOperationImpl implements ArmAsyncOperation {
    private ArmAsyncOperationInner innerObject;

    private final com.azure.resourcemanager.agrifood.AgriFoodManager serviceManager;

    ArmAsyncOperationImpl(
        ArmAsyncOperationInner innerObject, com.azure.resourcemanager.agrifood.AgriFoodManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    private com.azure.resourcemanager.agrifood.AgriFoodManager manager() {
        return this.serviceManager;
    }
}
