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