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

package com.azure.resourcemanager.redisenterprise.implementation;

import com.azure.resourcemanager.redisenterprise.fluent.models.RegionSkuDetailInner;
import com.azure.resourcemanager.redisenterprise.models.LocationInfo;
import com.azure.resourcemanager.redisenterprise.models.RegionSkuDetail;
import com.azure.resourcemanager.redisenterprise.models.SkuDetail;

public final class RegionSkuDetailImpl implements RegionSkuDetail {
    private RegionSkuDetailInner innerObject;

    private final com.azure.resourcemanager.redisenterprise.RedisEnterpriseManager serviceManager;

    RegionSkuDetailImpl(
        RegionSkuDetailInner innerObject,
        com.azure.resourcemanager.redisenterprise.RedisEnterpriseManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

    public LocationInfo locationInfo() {
        return this.innerModel().locationInfo();
    }

    public SkuDetail skuDetails() {
        return this.innerModel().skuDetails();
    }

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

    private com.azure.resourcemanager.redisenterprise.RedisEnterpriseManager manager() {
        return this.serviceManager;
    }
}
