notion-client
Safe HaskellNone
LanguageGHC2024

Notion.V1.ListOf

Contents

Description

The ListOf type constructor for handling paginated Notion API responses

Synopsis

Types

data ListOf a Source #

Notion API typically returns paginated results with this structure

Constructors

List 

Instances

Instances details
Generic (ListOf a) Source # 
Instance details

Defined in Notion.V1.ListOf

Associated Types

type Rep (ListOf a) 
Instance details

Defined in Notion.V1.ListOf

Methods

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

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

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

Defined in Notion.V1.ListOf

Methods

showsPrec :: Int -> ListOf a -> ShowS #

show :: ListOf a -> String #

showList :: [ListOf a] -> ShowS #

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

Defined in Notion.V1.ListOf

type Rep (ListOf a) Source # 
Instance details

Defined in Notion.V1.ListOf