File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
src/main/java/com/kpelykh/docker/client/model Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ public class HostConfig {
3434 @ JsonProperty ("PublishAllPorts" )
3535 private boolean publishAllPorts ;
3636
37+ @ JsonProperty ("Dns" )
38+ private String dns ;
39+
3740 public HostConfig () {
3841 this .binds = null ;
3942 }
@@ -101,6 +104,14 @@ public void setPublishAllPorts(boolean publishAllPorts) {
101104 this .publishAllPorts = publishAllPorts ;
102105 }
103106
107+ public String getDns () {
108+ return dns ;
109+ }
110+
111+ public void setDns (String dns ) {
112+ this .dns = dns ;
113+ }
114+
104115 @ Override
105116 public String toString () {
106117 return "HostConfig{" +
@@ -111,6 +122,7 @@ public String toString() {
111122 ", portBindings=" + portBindings +
112123 ", privileged=" + privileged +
113124 ", publishAllPorts=" + publishAllPorts +
125+ ", dns='" + dns + '\'' +
114126 '}' ;
115127 }
116128
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ public class Version {
2828 @ JsonProperty ("Os" )
2929 private String operatingSystem ;
3030
31+ @ JsonProperty
32+ private String apiVersion ;
3133
3234 public String getVersion () {
3335 return version ;
@@ -77,6 +79,14 @@ public void setOperatingSystem(String operatingSystem) {
7779 this .operatingSystem = operatingSystem ;
7880 }
7981
82+ public String getApiVersion () {
83+ return apiVersion ;
84+ }
85+
86+ public void setApiVersion (String apiVersion ) {
87+ this .apiVersion = apiVersion ;
88+ }
89+
8090 @ Override
8191 public String toString () {
8292 return "Version{" +
@@ -86,6 +96,7 @@ public String toString() {
8696 ", kernelVersion='" + kernelVersion + '\'' +
8797 ", arch='" + arch + '\'' +
8898 ", operatingSystem='" + operatingSystem + '\'' +
99+ ", apiVersion='" + apiVersion + '\'' +
89100 '}' ;
90101 }
91102}
You can’t perform that action at this time.
0 commit comments