forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlkioStatEntry.java
More file actions
61 lines (50 loc) · 1.25 KB
/
Copy pathBlkioStatEntry.java
File metadata and controls
61 lines (50 loc) · 1.25 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.io.Serializable;
/**
* BlkioStat is not documented in pubic docker swapper.yaml yet, reference:
* https://github.com/moby/moby/blob/master/api/types/stats.go
*/
@EqualsAndHashCode
@ToString
public class BlkioStatEntry implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("major")
Long major;
@JsonProperty("minor")
Long minor;
@JsonProperty("op")
String op;
@JsonProperty("value")
Long value;
public Long getMajor() {
return major;
}
public BlkioStatEntry withMajor(Long major) {
this.major = major;
return this;
}
public Long getMinor() {
return minor;
}
public BlkioStatEntry withMinor(Long minor) {
this.minor = minor;
return this;
}
public String getOp() {
return op;
}
public BlkioStatEntry withOp(String op) {
this.op = op;
return this;
}
public Long getValue() {
return value;
}
public BlkioStatEntry withValue(Long value) {
this.value = value;
return this;
}
}