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

package com.azure.resourcemanager.loganalytics.implementation;

import com.azure.resourcemanager.loganalytics.fluent.models.AvailableServiceTierInner;
import com.azure.resourcemanager.loganalytics.models.AvailableServiceTier;
import com.azure.resourcemanager.loganalytics.models.SkuNameEnum;

public final class AvailableServiceTierImpl implements AvailableServiceTier {
    private AvailableServiceTierInner innerObject;

    private final com.azure.resourcemanager.loganalytics.LogAnalyticsManager serviceManager;

    AvailableServiceTierImpl(
        AvailableServiceTierInner innerObject,
        com.azure.resourcemanager.loganalytics.LogAnalyticsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public SkuNameEnum serviceTier() {
        return this.innerModel().serviceTier();
    }

    public Boolean enabled() {
        return this.innerModel().enabled();
    }

    public Long minimumRetention() {
        return this.innerModel().minimumRetention();
    }

    public Long maximumRetention() {
        return this.innerModel().maximumRetention();
    }

    public Long defaultRetention() {
        return this.innerModel().defaultRetention();
    }

    public Long capacityReservationLevel() {
        return this.innerModel().capacityReservationLevel();
    }

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

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

    private com.azure.resourcemanager.loganalytics.LogAnalyticsManager manager() {
        return this.serviceManager;
    }
}
