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

org.knowm.xchange.gateio.dto.GateioBaseResponse Maven / Gradle / Ivy

There is a newer version: 5.2.1
Show newest version
package org.knowm.xchange.gateio.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public class GateioBaseResponse {

  private final boolean result;
  private final String message;

  protected GateioBaseResponse(
      @JsonProperty("result") final boolean result, @JsonProperty("msg") final String message) {

    this.result = result;
    this.message = message;
  }

  public boolean isResult() {

    return result;
  }

  public String getMessage() {

    return message;
  }

  @Override
  public String toString() {

    return "GateioBaseResponse [result=" + result + ", message=" + message + "]";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy