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

package com.azure.resourcemanager.storagepool.implementation;

import com.azure.resourcemanager.storagepool.fluent.models.DiskPoolZoneInfoInner;
import com.azure.resourcemanager.storagepool.fluent.models.Sku;
import com.azure.resourcemanager.storagepool.models.DiskPoolZoneInfo;
import java.util.Collections;
import java.util.List;

public final class DiskPoolZoneInfoImpl implements DiskPoolZoneInfo {
    private DiskPoolZoneInfoInner innerObject;

    private final com.azure.resourcemanager.storagepool.StoragePoolManager serviceManager;

    DiskPoolZoneInfoImpl(
        DiskPoolZoneInfoInner innerObject, com.azure.resourcemanager.storagepool.StoragePoolManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public Sku sku() {
        return this.innerModel().sku();
    }

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

    private com.azure.resourcemanager.storagepool.StoragePoolManager manager() {
        return this.serviceManager;
    }
}
