hscim-0.3.6: hscim json schema and server implementation
Safe HaskellNone
LanguageHaskell2010

Web.Scim.Schema.ListResponse

Synopsis

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.

Constructors

ListResponse 

Instances

Instances details
Eq a => Eq (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

Show a => Show (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

Generic (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

Associated Types

type Rep (ListResponse a) :: Type -> Type #

Methods

from :: ListResponse a -> Rep (ListResponse a) x #

to :: Rep (ListResponse a) x -> ListResponse a #

ToJSON a => ToJSON (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

FromJSON a => FromJSON (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

type Rep (ListResponse a) Source # 
Instance details

Defined in Web.Scim.Schema.ListResponse

type Rep (ListResponse a) = D1 ('MetaData "ListResponse" "Web.Scim.Schema.ListResponse" "hscim-0.3.6-JBBH5QJtoVCBhDdsGW2kZ7" 'False) (C1 ('MetaCons "ListResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schemas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Schema]) :*: S1 ('MetaSel ('Just "totalResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "itemsPerPage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "startIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))))