/* * Copyright (c) 2008-2013 EMC Corporation * All Rights Reserved */ package com.emc.storageos.model.vpool; import javax.xml.bind.annotation.XmlElement; /** * Class captures lists of URIs for compute elements to be assigned/unassigned * to/from the list. */ public class ComputeVirtualPoolAssignmentChanges { private ComputeVirtualPoolAssignments add; private ComputeVirtualPoolAssignments remove; public ComputeVirtualPoolAssignmentChanges() { } public ComputeVirtualPoolAssignmentChanges(ComputeVirtualPoolAssignments add, ComputeVirtualPoolAssignments remove) { this.add = add; this.remove = remove; } /** * The list of compute elements to be added to the compute virtual pool * */ @XmlElement(name = "add") public ComputeVirtualPoolAssignments getAdd() { return add; } public void setAdd(ComputeVirtualPoolAssignments add) { this.add = add; } /** * The list of compute elements to be removed from the compute virtual pool * */ @XmlElement(name = "remove") public ComputeVirtualPoolAssignments getRemove() { return remove; } public void setRemove(ComputeVirtualPoolAssignments remove) { this.remove = remove; } }