Skip to content

Commit 60d7800

Browse files
authored
Merge pull request docker-java#1055 from silvestre/master
Add "Pid" field to InspectExecResponse
2 parents 6f497c9 + fa6d7e7 commit 60d7800

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/main/java/com/github/dockerjava/api/command/InspectExecResponse.java

+14
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ public class InspectExecResponse {
5959
@JsonProperty("DetachKeys")
6060
private String detachKeys;
6161

62+
/**
63+
* @since {@link RemoteApiVersion#VERSION_1_25}
64+
*/
65+
@JsonProperty("Pid")
66+
private Integer pid;
67+
6268
public String getId() {
6369
return id;
6470
}
@@ -119,6 +125,14 @@ public String getDetachKeys() {
119125
return detachKeys;
120126
}
121127

128+
/**
129+
* @see #pid
130+
*/
131+
@CheckForNull
132+
public Integer getPid() {
133+
return pid;
134+
}
135+
122136
@Override
123137
public String toString() {
124138
return ToStringBuilder.reflectionToString(this);

0 commit comments

Comments
 (0)