blob: e9b21f47eef0e3c418c553e2ecd15e3b156b1035 (
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
|
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 Subnets implements Serializable, Iterable<Subnet> {
@JsonProperty("subnets")
private List<Subnet> list;
/**
* @return the list
*/
public List<Subnet> getList() {
return list;
}
/**
* @param list the list to set
*/
public void setList(List<Subnet> list) {
this.list = list;
}
public String toString() {
return "Subnets [list=" + list + "]";
}
public Iterator<Subnet> iterator() {
return list.iterator();
}
}
|