com.emc.vipr.model.sys.healthmonitor.HealthRestRep Maven / Gradle / Ivy
/*
* Copyright (c) 2013 EMC Corporation
* All Rights Reserved
*/
package com.emc.vipr.model.sys.healthmonitor;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
/**
* Represents node and its services health
*/
@XmlRootElement(name = "health")
public class HealthRestRep {
private List nodeHealthList;
public HealthRestRep() {
}
public HealthRestRep(List nodeHealthList) {
this.nodeHealthList = nodeHealthList;
}
@XmlElementWrapper(name = "node_health_list")
@XmlElement(name = "node_health")
public List getNodeHealthList() {
if (nodeHealthList == null) {
nodeHealthList = new ArrayList();
}
return nodeHealthList;
}
public void setNodeHealthList(List nodeHealthList) {
this.nodeHealthList = nodeHealthList;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy