com.woorea.openstack.cinder.model.Pools Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
*******************************************************************************/
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 + "]";
}
}