com.woorea.openstack.cinder.model.Snapshots 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;
public class Snapshots implements Iterable, Serializable {
@JsonProperty("snapshots")
private List list;
/**
* @return the list
*/
public List getList() {
return list;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "Snapshots [list=" + list + "]";
}
@Override
public Iterator iterator() {
return list.iterator();
}
}