com.emc.storageos.model.host.HostList Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.host;
import com.emc.storageos.model.NamedRelatedResourceRep;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
/**
* Response for getting a list of tenant hosts
*/
@XmlRootElement(name = "hosts")
public class HostList {
private List hosts;
public HostList() {
}
public HostList(List hosts) {
this.hosts = hosts;
}
/**
* List of host objects that exist in ViPR. Each
* host contains an id, name, and link.
*
* @valid none
*/
@XmlElement(name = "host")
public List getHosts() {
if (hosts == null) {
hosts = new ArrayList();
}
return hosts;
}
public void setHosts(List hosts) {
this.hosts = hosts;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy