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

com.tinypass.client.publisher.model.PageInfo Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class PageInfo {

  /* The offset of the first item in the response. Default: 0. */
  private Integer offset = null;
  

  /* The maximum number of objects to return */
  private Integer limit = null;
  

    private Integer total = null;
  

    private Boolean limited = null;
  

    private Integer endPage = null;
  

    private Integer beginPage = null;
  

    private Integer totalPages = null;
  

    private Boolean hasNextPage = null;
  

    private Boolean hasPrevPage = null;
  

    private Boolean totalCountKnown = null;
  


  public Integer getOffset() {
    return offset;
  }
  public void setOffset(Integer offset) {
    this.offset = offset;
  }


  public Integer getLimit() {
    return limit;
  }
  public void setLimit(Integer limit) {
    this.limit = limit;
  }


  public Integer getTotal() {
    return total;
  }
  public void setTotal(Integer total) {
    this.total = total;
  }


  public Boolean getLimited() {
    return limited;
  }
  public void setLimited(Boolean limited) {
    this.limited = limited;
  }


  public Integer getEndPage() {
    return endPage;
  }
  public void setEndPage(Integer endPage) {
    this.endPage = endPage;
  }


  public Integer getBeginPage() {
    return beginPage;
  }
  public void setBeginPage(Integer beginPage) {
    this.beginPage = beginPage;
  }


  public Integer getTotalPages() {
    return totalPages;
  }
  public void setTotalPages(Integer totalPages) {
    this.totalPages = totalPages;
  }


  public Boolean getHasNextPage() {
    return hasNextPage;
  }
  public void setHasNextPage(Boolean hasNextPage) {
    this.hasNextPage = hasNextPage;
  }


  public Boolean getHasPrevPage() {
    return hasPrevPage;
  }
  public void setHasPrevPage(Boolean hasPrevPage) {
    this.hasPrevPage = hasPrevPage;
  }


  public Boolean getTotalCountKnown() {
    return totalCountKnown;
  }
  public void setTotalCountKnown(Boolean totalCountKnown) {
    this.totalCountKnown = totalCountKnown;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class PageInfo {\n");
    sb.append("  offset: ").append(offset).append("\n");
    sb.append("  limit: ").append(limit).append("\n");
    sb.append("  total: ").append(total).append("\n");
    sb.append("  limited: ").append(limited).append("\n");
    sb.append("  endPage: ").append(endPage).append("\n");
    sb.append("  beginPage: ").append(beginPage).append("\n");
    sb.append("  totalPages: ").append(totalPages).append("\n");
    sb.append("  hasNextPage: ").append(hasNextPage).append("\n");
    sb.append("  hasPrevPage: ").append(hasPrevPage).append("\n");
    sb.append("  totalCountKnown: ").append(totalCountKnown).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy