com.emc.storageos.model.varray.DecommissionedResources Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.varray;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
@XmlRootElement(name = "decommissioned_resources")
public class DecommissionedResources {
private List resources;
public DecommissionedResources() {
}
/**
* A list of decommissioned resources
*
* @valid none
*/
@XmlElement(name = "decommissioned_resource")
public List getResources() {
if (resources == null) {
resources = new ArrayList();
}
return resources;
}
public void setResources(List resources) {
this.resources = resources;
}
public void addResource(DecommissionedResourceRep resource) {
if (resources == null) {
resources = new ArrayList();
}
resources.add(resource);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy