All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.authentication.CredsStoreHelperResult Maven / Gradle / Ivy

There is a newer version: 2024-11-28T22-05-00
Show newest version
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