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

package com.azure.resourcemanager.reservations.implementation;

import com.azure.resourcemanager.reservations.fluent.models.CalculateExchangeOperationResultResponseInner;
import com.azure.resourcemanager.reservations.models.CalculateExchangeOperationResultResponse;
import com.azure.resourcemanager.reservations.models.CalculateExchangeOperationResultStatus;
import com.azure.resourcemanager.reservations.models.CalculateExchangeResponseProperties;
import com.azure.resourcemanager.reservations.models.OperationResultError;

public final class CalculateExchangeOperationResultResponseImpl implements CalculateExchangeOperationResultResponse {
    private CalculateExchangeOperationResultResponseInner innerObject;

    private final com.azure.resourcemanager.reservations.ReservationsManager serviceManager;

    CalculateExchangeOperationResultResponseImpl(
        CalculateExchangeOperationResultResponseInner innerObject,
        com.azure.resourcemanager.reservations.ReservationsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    public CalculateExchangeResponseProperties properties() {
        return this.innerModel().properties();
    }

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

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

    private com.azure.resourcemanager.reservations.ReservationsManager manager() {
        return this.serviceManager;
    }
}
