Skip to main content

DevicePage

The Result Set for a search using myDevices query

type DevicePage implements PageResult {
content: [Device!]
pageNumber: Int!
pageSize: Int!
offset: Int!
totalElements: Int!
totalPages: Int!
first: Boolean!
last: Boolean!
}

Fields

DevicePage.content ● [Device!] list object devices

The list of Devices for the current result

DevicePage.pageNumber ● Int! non-null scalar common

Current Page Number of the Device list

DevicePage.pageSize ● Int! non-null scalar common

The requested page size

DevicePage.offset ● Int! non-null scalar common

The requested page offset

DevicePage.totalElements ● Int! non-null scalar common

Total elements for entire Result Set

DevicePage.totalPages ● Int! non-null scalar common

Total Pages in the entire Result Set

DevicePage.first ● Boolean! non-null scalar common

Is this the first page of Result Set?

DevicePage.last ● Boolean! non-null scalar common

Is this the last page of Result Set?

Interfaces

PageResult interface pagination

This interface implemented by any paginated result sets.

Returned By

myDevices query