com.emc.storageos.model.vpool.VirtualPoolRemoteProtectionUpdateParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.vpool;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
public class VirtualPoolRemoteProtectionUpdateParam {
private Set add;
private Set remove;
public VirtualPoolRemoteProtectionUpdateParam(
Set add,
Set remove) {
this.add = add;
this.remove = remove;
}
public VirtualPoolRemoteProtectionUpdateParam() {
}
@XmlElementWrapper(name = "add_remote_copies_settings")
@XmlElement(name = "add_remote_copy_setting", required = false)
public Set getAdd() {
if (null == add) {
add = new LinkedHashSet();
}
return add;
}
public void setAdd(Set add) {
this.add = add;
}
@XmlElementWrapper(name = "remove_remote_copies_settings")
@XmlElement(name = "remove_remote_copy_setting", required = false)
public Set getRemove() {
if (null == remove) {
remove = new LinkedHashSet();
}
return remove;
}
public void setRemove(Set remove) {
this.remove = remove;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy