com.emc.storageos.model.file.FileExportUpdateParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.file;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Parameter for file export update. Contains lists of
* end points that need to be added or removed for a file
* share export.
*/
@XmlRootElement(name = "filesystem_export_update")
public class FileExportUpdateParam {
private List add;
private List remove;
private String comments;
public FileExportUpdateParam() {
}
public FileExportUpdateParam(List add, List remove) {
this.add = add;
this.remove = remove;
}
@XmlElementWrapper(required = false)
/**
* List of endpoints to be added
* @valid none
*/
@XmlElement(name = "add")
public List getAdd() {
if (add == null) {
add = new ArrayList();
}
return add;
}
public void setAdd(List add) {
this.add = add;
}
@XmlElementWrapper(required = false)
/**
* List of endpoints to be removed
* @valid none
*/
@XmlElement(name = "remove")
public List getRemove() {
if (remove == null) {
remove = new ArrayList();
}
return remove;
}
public void setRemove(List remove) {
this.remove = remove;
}
@XmlElement(name = "comments")
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy