com.woorea.openstack.cinder.model.Pools Maven / Gradle / Ivy
package com.woorea.openstack.cinder.model;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Model for List of pools
*/
public class Pools implements Iterable, Serializable {
@JsonProperty("pools")
private List list;
public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
@Override
public Iterator iterator() {
return list.iterator();
}
@Override
public String toString() {
return "Pools [list=" + list + "]";
}
}