
org.testifyproject.github.dockerjava.api.command.GraphDriver Maven / Gradle / Ivy
package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.testifyproject.testifyproject.fasterxml.jackson.annotation.JsonProperty;
import org.testifyproject.apache.org.testifyproject.testifyprojectmons.lang.builder.EqualsBuilder;
import org.testifyproject.apache.org.testifyproject.testifyprojectmons.lang.builder.HashCodeBuilder;
import org.testifyproject.apache.org.testifyproject.testifyprojectmons.lang.builder.ToStringBuilder;
import javax.annotation.CheckForNull;
/**
* Part of {@link InspectImageResponse}
*
* @author Kanstantsin Shautsou
* @since {@link org.testifyproject.testifyproject.github.dockerjava.core.RemoteApiVersion#VERSION_1_21}
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class GraphDriver {
/**
* @since {@link org.testifyproject.testifyproject.github.dockerjava.core.RemoteApiVersion#VERSION_1_21}
*/
@JsonProperty("Name")
private String name;
/**
* @since {@link org.testifyproject.testifyproject.github.dockerjava.core.RemoteApiVersion#VERSION_1_21}
*/
@JsonProperty("Data")
private GraphData data;
/**
* @see #data
*/
@CheckForNull
public GraphData getData() {
return data;
}
/**
* @see #data
*/
public GraphDriver withData(GraphData data) {
this.data = data;
return this;
}
/**
* @see #name
*/
@CheckForNull
public String getName() {
return name;
}
/**
* @see #name
*/
public GraphDriver withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
@Override
public boolean equals(Object o) {
return EqualsBuilder.reflectionEquals(this, o);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy