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

org.qas.qtest.api.services.search.model.SearchResult Maven / Gradle / Ivy

The newest version!
package org.qas.qtest.api.services.search.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.qas.qtest.api.internal.model.QTestBaseModel;

import java.util.List;

/**
 * @author trongle
 * @since 1.4.9
 */
public class SearchResult extends QTestBaseModel {
  @JsonProperty("page")
  private int page;
  @JsonProperty("page_size")
  private int pageSize;
  @JsonProperty("total")
  private long total;
  @JsonProperty("items")
  private List items;
  
  public int getPage() {
    return page;
  }
  
  public SearchResult setPage(int page) {
    this.page = page;
    return this;
  }
  
  public int getPageSize() {
    return pageSize;
  }
  
  public SearchResult setPageSize(int pageSize) {
    this.pageSize = pageSize;
    return this;
  }
  
  public long getTotal() {
    return total;
  }
  
  public SearchResult setTotal(long total) {
    this.total = total;
    return this;
  }
  
  public List getItems() {
    return items;
  }
  
  public SearchResult setItems(List items) {
    this.items = items;
    return this;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy