forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPruneResponse.java
More file actions
41 lines (34 loc) · 924 Bytes
/
Copy pathPruneResponse.java
File metadata and controls
41 lines (34 loc) · 924 Bytes
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
39
40
41
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.io.Serializable;
/**
* Delete unused content (containers, images, volumes, networks, build relicts)
*/
@EqualsAndHashCode
@ToString
public class PruneResponse implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("SpaceReclaimed")
private Long spaceReclaimed;
/**
* Default constructor for the deserialization.
*/
public PruneResponse() {
}
/**
* Constructor.
*
* @param spaceReclaimed Space reclaimed after purification
*/
public PruneResponse(Long spaceReclaimed) {
this.spaceReclaimed = spaceReclaimed;
}
/**
* Disk space reclaimed in bytes
*/
public Long getSpaceReclaimed() {
return spaceReclaimed;
}
}