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

package com.azure.resourcemanager.labservices.implementation;

import com.azure.resourcemanager.labservices.fluent.models.LabServicesSkuInner;
import com.azure.resourcemanager.labservices.models.LabServicesSku;
import com.azure.resourcemanager.labservices.models.LabServicesSkuCapabilities;
import com.azure.resourcemanager.labservices.models.LabServicesSkuCapacity;
import com.azure.resourcemanager.labservices.models.LabServicesSkuCost;
import com.azure.resourcemanager.labservices.models.LabServicesSkuRestrictions;
import com.azure.resourcemanager.labservices.models.LabServicesSkuTier;
import java.util.Collections;
import java.util.List;

public final class LabServicesSkuImpl implements LabServicesSku {
    private LabServicesSkuInner innerObject;

    private final com.azure.resourcemanager.labservices.LabServicesManager serviceManager;

    LabServicesSkuImpl(
        LabServicesSkuInner innerObject, com.azure.resourcemanager.labservices.LabServicesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public LabServicesSkuTier tier() {
        return this.innerModel().tier();
    }

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

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

    public LabServicesSkuCapacity capacity() {
        return this.innerModel().capacity();
    }

    public List<LabServicesSkuCapabilities> capabilities() {
        List<LabServicesSkuCapabilities> inner = this.innerModel().capabilities();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

    public List<String> locations() {
        List<String> inner = this.innerModel().locations();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

    public List<LabServicesSkuCost> costs() {
        List<LabServicesSkuCost> inner = this.innerModel().costs();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

    public List<LabServicesSkuRestrictions> restrictions() {
        List<LabServicesSkuRestrictions> inner = this.innerModel().restrictions();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

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

    private com.azure.resourcemanager.labservices.LabServicesManager manager() {
        return this.serviceManager;
    }
}
