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

package com.azure.resourcemanager.videoanalyzer.implementation;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.videoanalyzer.fluent.models.PipelineJobOperationStatusInner;
import com.azure.resourcemanager.videoanalyzer.models.PipelineJobOperationStatus;

public final class PipelineJobOperationStatusImpl implements PipelineJobOperationStatus {
    private PipelineJobOperationStatusInner innerObject;

    private final com.azure.resourcemanager.videoanalyzer.VideoAnalyzerManager serviceManager;

    PipelineJobOperationStatusImpl(
        PipelineJobOperationStatusInner innerObject,
        com.azure.resourcemanager.videoanalyzer.VideoAnalyzerManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public ManagementError error() {
        return this.innerModel().error();
    }

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

    private com.azure.resourcemanager.videoanalyzer.VideoAnalyzerManager manager() {
        return this.serviceManager;
    }
}
