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

package com.azure.resourcemanager.security.implementation;

import com.azure.resourcemanager.security.fluent.models.SecuritySolutionsReferenceDataListInner;
import com.azure.resourcemanager.security.models.SecuritySolutionsReferenceData;
import com.azure.resourcemanager.security.models.SecuritySolutionsReferenceDataList;
import java.util.Collections;
import java.util.List;

public final class SecuritySolutionsReferenceDataListImpl implements SecuritySolutionsReferenceDataList {
    private SecuritySolutionsReferenceDataListInner innerObject;

    private final com.azure.resourcemanager.security.SecurityManager serviceManager;

    SecuritySolutionsReferenceDataListImpl(
        SecuritySolutionsReferenceDataListInner innerObject,
        com.azure.resourcemanager.security.SecurityManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    private com.azure.resourcemanager.security.SecurityManager manager() {
        return this.serviceManager;
    }
}
