com.emc.storageos.model.block.export.ClustersUpdateParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.block.export;
import java.net.URI;
import java.util.HashSet;
import java.util.Set;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
/**
* Update parameter for cluster
*/
public class ClustersUpdateParam extends UpdateParam {
public ClustersUpdateParam() {
}
public ClustersUpdateParam(Set add, Set remove) {
this.add = add;
this.remove = remove;
}
@XmlElementWrapper(required = false)
@XmlElement(name = "cluster")
public Set getAdd() {
if (add == null) {
add = new HashSet();
}
return add;
}
public void setAdd(Set add) {
this.add = add;
}
@XmlElementWrapper(required = false)
@XmlElement(name = "cluster")
public Set getRemove() {
if (remove == null) {
remove = new HashSet();
}
return remove;
}
public void setRemove(Set remove) {
this.remove = remove;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy