// 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.AppliedReservationsInner;
import com.azure.resourcemanager.reservations.models.AppliedReservationList;
import com.azure.resourcemanager.reservations.models.AppliedReservations;

public final class AppliedReservationsImpl implements AppliedReservations {
    private AppliedReservationsInner innerObject;

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

    AppliedReservationsImpl(
        AppliedReservationsInner 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 String type() {
        return this.innerModel().type();
    }

    public AppliedReservationList reservationOrderIds() {
        return this.innerModel().reservationOrderIds();
    }

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

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