/* 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 { Menu } from "./menu";

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