All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emc.storageos.model.pools.StoragePoolResources Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2015 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.pools;

import com.emc.storageos.model.TypedRelatedResourceRep;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * Response class captures this list of resources in a storage pool.
 */
@XmlRootElement(name = "storage_resources")
public class StoragePoolResources {

    // A list containing the resources in a storage pool.
    private List resources;

    public StoragePoolResources() {
    }

    public StoragePoolResources(List resources) {
        this.resources = resources;
    }

    /**
     * List of volumes and file shares created from this storage pool
     * 
     * @valid none
     */
    @XmlElement(name = "storage_resource")
    public List getResources() {
        if (resources == null) {
            resources = new ArrayList();
        }
        return resources;
    }

    public void setResources(List resources) {
        this.resources = resources;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy