com.emc.storageos.model.host.HostBulkRep Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.host;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.emc.storageos.model.BulkRestRep;
@XmlRootElement(name = "bulk_hosts")
public class HostBulkRep extends BulkRestRep {
private List hosts;
/**
* List of host objects that exist in ViPR.
*
* @valid none
*/
@XmlElement(name = "host")
public List getHosts() {
if (hosts == null) {
hosts = new ArrayList();
}
return hosts;
}
public void setHosts(List cluster) {
this.hosts = cluster;
}
public HostBulkRep() {
}
public HostBulkRep(List hosts) {
this.hosts = hosts;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy