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

org.knowm.xchange.livecoin.dto.LivecoinPaginatedResponse Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public class LivecoinPaginatedResponse extends LivecoinBaseResponse {

  private final List data;
  private final int totalRows;
  private final int startRow;
  private final int endRow;

  public LivecoinPaginatedResponse(
      @JsonProperty("success") Boolean success,
      @JsonProperty("data") List data,
      @JsonProperty("totalRows") int totalRows,
      @JsonProperty("startRow") int startRow,
      @JsonProperty("endRow") int endRow) {
    super(success);
    this.data = data;
    this.totalRows = totalRows;
    this.startRow = startRow;
    this.endRow = endRow;
  }

  public List getData() {
    return data;
  }

  public int getTotalRows() {
    return totalRows;
  }

  public int getStartRow() {
    return startRow;
  }

  public int getEndRow() {
    return endRow;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy