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

com.emc.storageos.model.block.VolumeBulkRep 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.BulkRestRep;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "bulk_volumes")
public class VolumeBulkRep extends BulkRestRep {
    private List volumes;

    /**
     * List of volume objects specifying its characteristics
     * such as allocated capacity, provisioned capacity, disk
     * technology, and whether or not the volume is thinly provisioned.
     * 
     * @valid none
     */
    @XmlElement(name = "volume")
    public List getVolumes() {
        if (volumes == null) {
            volumes = new ArrayList();
        }
        return volumes;
    }

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

    public VolumeBulkRep() {
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy