org.knowm.xchange.livecoin.dto.LivecoinPaginatedResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-livecoin Show documentation
Show all versions of xchange-livecoin Show documentation
A convenient way to buy and sell Bitcoin
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;
}
}