We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a4bf8a commit f8a5fb4Copy full SHA for f8a5fb4
1 file changed
src/main/java/com/github/dockerjava/api/model/Statistics.java
@@ -16,6 +16,13 @@ public class Statistics {
16
@JsonProperty("read")
17
private String read;
18
19
+ @JsonProperty("networks")
20
+ private Map<String, Object> networksStats;
21
+
22
+ /**
23
+ * Deprecated as of Docker Remote API 1.21
24
+ */
25
+ @Deprecated
26
@JsonProperty("network")
27
private Map<String, Object> networkStats;
28
@@ -28,6 +35,10 @@ public class Statistics {
35
@JsonProperty("cpu_stats")
29
36
private Map<String, Object> cpuStats;
30
37
38
+ public Map<String, Object> getNetworksStats() {
39
+ return networksStats;
40
+ }
41
31
42
public Map<String, Object> getNetworkStats() {
32
43
return networkStats;
33
44
}
0 commit comments