PageUnitDto

📄 Description: Paginated response wrapper for retrieving a collection of unit DTOs.

Properties

Name

Type

Required

Restrictions

Description

totalPages

integer(int32)

false

none

Total number of available pages.

totalElements

integer(int64)

false

none

Total number of elements across all pages.

pageable

PageableObject

false

none

Represents pagination metadata describing the requested page, including offsets, sizes, and sorting information.

numberOfElements

integer(int32)

false

none

Number of elements in the current page.

first

boolean

false

none

Indicates whether this is the first page.

last

boolean

false

none

Indicates whether this is the last page.

size

integer(int32)

false

none

Number of elements per page.

content

[UnitDto]

false

none

List of units contained in the current page.

number

integer(int32)

false

none

Current page number (zero-based).

sort

SortObject

false

none

Represents sorting metadata applied to a pageable request, including whether sorting is enabled and its state.

empty

boolean

false

none

Indicates whether the page is empty.