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

com.emc.storageos.model.block.BulkDeleteParam 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 javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import java.net.URI;
import java.util.ArrayList;
import java.util.List;

/**
 * Specifies one or more Volume URIs for a bulk delete operation.
 */
@XmlRootElement(name = "volume_ids")
public class BulkDeleteParam {

    private List ids;

    public BulkDeleteParam() {
    }

    public BulkDeleteParam(List ids) {
        this.ids = ids;
    }

    /**
     * The list of volume URIs to be deleted
     * 
     * @valid URI
     */
    @XmlElement(name = "id")
    public List getIds() {
        if (ids == null) {
            ids = new ArrayList();
        }
        return ids;
    }

    public void setIds(List ids) {
        this.ids = ids;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy