class JsonRpcV1Response {

  @Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (!(other instanceof JsonRpcV1Response)) {
      return false;
    }
    JsonRpcV1Response that = (JsonRpcV1Response) other;
    return Objects.equals(result, that.result)
        && Objects.equals(error, that.error)
        && Objects.equals(id, that.id);
  }

  @JsonCreator public  JsonRpcV1Response(
      @JsonProperty(value = RESULT, required = true) JsonNode result,
      @JsonProperty(value = ERROR, required = true) String error,
      @JsonProperty(value = ID, required = true) String id
  );
  public  JsonRpcV1Response(Object result, String error, String id);

}