![JAR search and dependency download from the Maven repository](/logo.png)
org.gs4tr.gcc.restclient.dto.PageableResponseData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gcc-restclient Show documentation
Show all versions of gcc-restclient Show documentation
GlobalLink Connect Cloud java is a library to connect your system to GlobalLink Connect Cloud REST API.
package org.gs4tr.gcc.restclient.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown=true)
public class PageableResponseData {
@JsonProperty("current_page_number")
private Integer currentPageNumber;
@JsonProperty("total_records_count")
private Integer totalRecordsCount;
@JsonProperty("total_result_pages_count")
private Integer totalResultPagesCount;
public Boolean isEmpty(){
return totalRecordsCount==null || totalRecordsCount<1;
}
public Integer getCurrentPageNumber() {
return currentPageNumber;
}
public void setCurrentPageNumber(Integer currentPageNumber) {
this.currentPageNumber = currentPageNumber;
}
public Integer getTotalRecordsCount() {
return totalRecordsCount;
}
public void setTotalRecordsCount(Integer totalRecordsCount) {
this.totalRecordsCount = totalRecordsCount;
}
public Integer getTotalResultPagesCount() {
return totalResultPagesCount;
}
public void setTotalResultPagesCount(Integer totalResultPagesCount) {
this.totalResultPagesCount = totalResultPagesCount;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy