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

org.knowm.xchange.cexio.dto.CexIOApiResponse Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package org.knowm.xchange.cexio.dto;

/** @author ujjwal on 13/02/18. */
public abstract class CexIOApiResponse {
  private final String e;
  private final T data;
  private final String ok;
  private final String error;

  protected CexIOApiResponse(String e, T data, String ok, String error) {
    this.e = e;
    this.data = data;
    this.ok = ok;
    this.error = error;
  }

  public String getE() {
    return e;
  }

  public T getData() {
    return data;
  }

  public String getOk() {
    return ok;
  }

  public String getError() {
    return error;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy