src.main.kotlin.com.gabrielfeo.develocity.api.model.PageMetadata.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of develocity-api-kotlin Show documentation
Show all versions of develocity-api-kotlin Show documentation
A library to use the Develocity API in Kotlin
The newest version!
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.gabrielfeo.develocity.api.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* Information about the current and available page of elements. Pages are returned from list operations which could contain a lot of elements. One page contains a subset of the available elements. API users can retrieve all pages in order to retrieve all of the available elements.
*
* @param number The index of the current page. Page indexes start at zero.
* @param propertySize The number of elements in the current page.
* @param totalPages The total number of pages.
* @param totalElements The total number of elements across all pages.
*/
data class PageMetadata (
/* The index of the current page. Page indexes start at zero. */
@Json(name = "number")
val number: kotlin.Int,
/* The number of elements in the current page. */
@Json(name = "size")
val propertySize: kotlin.Int,
/* The total number of pages. */
@Json(name = "totalPages")
val totalPages: kotlin.Int,
/* The total number of elements across all pages. */
@Json(name = "totalElements")
val totalElements: kotlin.Int
) {
}