Pagination
Basic pagination with pageSize
and offset
.
Used everywhere except ChannelQuery
. (See MessagesPagination
)
public struct Pagination: Encodable, Equatable
Inheritance
Encodable
, Equatable
Initializers
init(pageSize:offset:)
public init(pageSize: Int, offset: Int = 0)
Properties
pageSize
A page size.
public let pageSize: Int
offset
An offset.
public let offset: Int
Methods
encode(to:)
public func encode(to encoder: Encoder) throws