/* tslint:disable */
/* eslint-disable */
/**
 * Halo Next API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

// May contain unused imports in some cases
// @ts-ignore
import { ListedPost } from "./listed-post";

/**
 *
 * @export
 * @interface ListedPostList
 */
export interface ListedPostList {
  /**
   * Indicates whether current page is the first page.
   * @type {boolean}
   * @memberof ListedPostList
   */
  first: boolean;
  /**
   * Indicates whether current page has previous page.
   * @type {boolean}
   * @memberof ListedPostList
   */
  hasNext: boolean;
  /**
   * Indicates whether current page has previous page.
   * @type {boolean}
   * @memberof ListedPostList
   */
  hasPrevious: boolean;
  /**
   * A chunk of items.
   * @type {Array<ListedPost>}
   * @memberof ListedPostList
   */
  items: Array<ListedPost>;
  /**
   * Indicates whether current page is the last page.
   * @type {boolean}
   * @memberof ListedPostList
   */
  last: boolean;
  /**
   * Page number, starts from 1. If not set or equal to 0, it means no pagination.
   * @type {number}
   * @memberof ListedPostList
   */
  page: number;
  /**
   * Size of each page. If not set or equal to 0, it means no pagination.
   * @type {number}
   * @memberof ListedPostList
   */
  size: number;
  /**
   * Total elements.
   * @type {number}
   * @memberof ListedPostList
   */
  total: number;
  /**
   * Indicates total pages.
   * @type {number}
   * @memberof ListedPostList
   */
  totalPages: number;
}
