de.gesellix.docker.authentication.CredsStoreHelperResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-engine Show documentation
Show all versions of docker-engine Show documentation
Bare HTTP client for the Docker engine api
package de.gesellix.docker.authentication;
import java.util.Map;
import java.util.Objects;
public class CredsStoreHelperResult {
private String error;
private Map data;
public CredsStoreHelperResult(String error) {
this.error = error;
}
public CredsStoreHelperResult(Map data) {
this.data = data;
}
public String getError() {
return error;
}
public Map getData() {
return data;
}
@Override
public boolean equals(Object o) {
if (this == o) {return true;}
if (o == null || getClass() != o.getClass()) {return false;}
CredsStoreHelperResult that = (CredsStoreHelperResult) o;
return Objects.equals(error, that.error) && Objects.equals(data, that.data);
}
@Override
public int hashCode() {
return Objects.hash(error, data);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy