File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/main/java/com/github/dockerjava/api/model Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ public class HostConfig implements Serializable {
9999 @ JsonProperty ("Devices" )
100100 private Device [] devices ;
101101
102+ /**
103+ * @since {@link RemoteApiVersion#VERSION_1_25}
104+ */
105+ @ JsonProperty ("DiskQuota" )
106+ private Long diskQuota ;
107+
102108 @ JsonProperty ("Dns" )
103109 private String [] dns ;
104110
@@ -260,6 +266,10 @@ public Device[] getDevices() {
260266 return devices ;
261267 }
262268
269+ public Long getDiskQuota () {
270+ return diskQuota ;
271+ }
272+
263273 public String [] getDns () {
264274 return dns ;
265275 }
@@ -622,6 +632,14 @@ public HostConfig withDevices(Device[] devices) {
622632 return this ;
623633 }
624634
635+ /**
636+ * @see #diskQuota
637+ */
638+ public HostConfig withDiskQuota (Long diskQuota ) {
639+ this .diskQuota = diskQuota ;
640+ return this ;
641+ }
642+
625643 /**
626644 * @see #dns
627645 */
You can’t perform that action at this time.
0 commit comments