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

com.emc.storageos.model.block.NamedVolumesList 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.block;

import com.emc.storageos.model.NamedRelatedResourceRep;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "volumes")
public class NamedVolumesList {

    private List volumes;

    public NamedVolumesList() {
    }

    public NamedVolumesList(List volumes) {
        this.volumes = volumes;
    }

    /**
     * List of volumes that make up this entry. Used primarily to ingest volumes into ViPR.
     * 
     * @valid Maximum of 4000 volumes can be provided in this list.
     */
    @XmlElement(name = "volume")
    public List getVolumes() {
        if (volumes == null) {
            volumes = new ArrayList();
        }
        return volumes;
    }

    public void setVolumes(List volumes) {
        this.volumes = volumes;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy