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

commonMain.com.algolia.client.model.ingestion.Pagination.kt Maven / Gradle / Ivy

Go to download

"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."

There is a newer version: 3.10.1
Show newest version
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.ingestion

import kotlinx.serialization.*
import kotlinx.serialization.json.*

/**
 * Paginated API response.
 *
 * @param nbPages Number of pages in the API response.
 * @param page Page of the API response to retrieve.
 * @param nbItems Number of items in the API response.
 * @param itemsPerPage Number of items per page.
 */
@Serializable
public data class Pagination(

  /** Number of pages in the API response. */
  @SerialName(value = "nbPages") val nbPages: Int,

  /** Page of the API response to retrieve. */
  @SerialName(value = "page") val page: Int,

  /** Number of items in the API response. */
  @SerialName(value = "nbItems") val nbItems: Int,

  /** Number of items per page. */
  @SerialName(value = "itemsPerPage") val itemsPerPage: Int,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy