com.emc.storageos.model.block.export.HostsParam Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.block.export;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
/**
* Create parameter for host
*/
public class HostsParam {
private List hosts;
public HostsParam() {
}
public HostsParam(List hosts) {
this.hosts = hosts;
}
@XmlElementWrapper(required = false)
/**
* List of host URIs.
* @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