blob: a4fd330deb8eee06acdc0b3ad28d480f68287867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package com.woorea.openstack.quantum.model;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
public class Networks implements Iterable<Network>, Serializable{
@JsonProperty("networks")
private List<Network> list;
/**
* @return the list
*/
public List<Network> getList() {
return list;
}
/**
* @param list the list to set
*/
public void setList(List<Network> list) {
this.list = list;
}
public String toString() {
return "Networks [list=" + list + "]";
}
public Iterator<Network> iterator() {
return list.iterator();
}
}
|