com.kpelykh.docker.client.model.ContainerCreateResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.kpelykh.docker.client.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Arrays;
/**
*
* @author Konstantin Pelykh ([email protected])
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ContainerCreateResponse {
@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 "ContainerCreateResponse{" +
"id='" + id + '\'' +
", warnings=" + Arrays.toString(warnings) +
'}';
}
}