Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ListResponse a = ListResponse {
- schemas :: [Schema]
- totalResults :: Int
- itemsPerPage :: Int
- startIndex :: Int
- resources :: [a]
- fromList :: [a] -> ListResponse a
Documentation
data ListResponse a Source #
A "pagination" type used as a wrapper whenever a SCIM endpoint has to return a list.
Pagination is not actually supported anywhere in the code yet; whenever
there are several results we always return them all as one page, and we
don't support different values of startIndex
.
FUTUREWORK: Support for pagination might be added once we have to handle organizations with lots of users.
ListResponse | |
|
Instances
fromList :: [a] -> ListResponse a Source #