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

package azure.resourcemanager.largeheader.implementation;

import azure.resourcemanager.largeheader.fluent.models.CancelResultInner;
import azure.resourcemanager.largeheader.models.CancelResult;

public final class CancelResultImpl implements CancelResult {
    private CancelResultInner innerObject;

    private final azure.resourcemanager.largeheader.LargeHeaderManager serviceManager;

    CancelResultImpl(CancelResultInner innerObject,
        azure.resourcemanager.largeheader.LargeHeaderManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public boolean succeeded() {
        return this.innerModel().succeeded();
    }

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

    private azure.resourcemanager.largeheader.LargeHeaderManager manager() {
        return this.serviceManager;
    }
}
