forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCreateContainerResponse.java
More file actions
42 lines (32 loc) · 861 Bytes
/
Copy pathCreateContainerResponse.java
File metadata and controls
42 lines (32 loc) · 861 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
42
package com.github.dockerjava.api.command;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* @author Konstantin Pelykh (kpelykh@gmail.com)
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CreateContainerResponse {
@JsonProperty("Id")
private String id;
@JsonProperty("Warnings")
private String[] warnings;
public String getId() {
return id;
}
public String[] getWarnings() {
return warnings;
}
public void setId(String id) {
this.id = id;
}
public void setWarnings(String[] warnings) {
this.warnings = warnings;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}