forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBlkioRateDevice.java
More file actions
37 lines (28 loc) · 746 Bytes
/
Copy pathBlkioRateDevice.java
File metadata and controls
37 lines (28 loc) · 746 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
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.io.Serializable;
@EqualsAndHashCode
@ToString
public class BlkioRateDevice implements Serializable {
public static final long serialVersionUID = 1L;
@JsonProperty("Path")
private String path;
@JsonProperty("Rate")
private Long rate;
public String getPath() {
return path;
}
public BlkioRateDevice withPath(String path) {
this.path = path;
return this;
}
public Long getRate() {
return rate;
}
public BlkioRateDevice withRate(Long rate) {
this.rate = rate;
return this;
}
}