pinboard-0.10.3.0: Access to the Pinboard API
Copyright(c) Jon Schoning 2015
Maintainerjonschoning@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Pinboard.ApiTypes

Description

 
Synopsis

Posts

data Posts Source #

Constructors

Posts 

Instances

Instances details
Eq Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

(==) :: Posts -> Posts -> Bool #

(/=) :: Posts -> Posts -> Bool #

Data Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Posts -> c Posts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Posts #

toConstr :: Posts -> Constr #

dataTypeOf :: Posts -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Posts) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Posts) #

gmapT :: (forall b. Data b => b -> b) -> Posts -> Posts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Posts -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Posts -> r #

gmapQ :: (forall d. Data d => d -> u) -> Posts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Posts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Posts -> m Posts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Posts -> m Posts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Posts -> m Posts #

Ord Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

compare :: Posts -> Posts -> Ordering #

(<) :: Posts -> Posts -> Bool #

(<=) :: Posts -> Posts -> Bool #

(>) :: Posts -> Posts -> Bool #

(>=) :: Posts -> Posts -> Bool #

max :: Posts -> Posts -> Posts #

min :: Posts -> Posts -> Posts #

Show Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

showsPrec :: Int -> Posts -> ShowS #

show :: Posts -> String #

showList :: [Posts] -> ShowS #

Generic Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep Posts :: Type -> Type #

Methods

from :: Posts -> Rep Posts x #

to :: Rep Posts x -> Posts #

ToJSON Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Posts Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Posts = D1 ('MetaData "Posts" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'False) (C1 ('MetaCons "Posts" 'PrefixI 'True) (S1 ('MetaSel ('Just "postsDate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "postsUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "postsPosts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Post]))))

data Post Source #

Instances

Instances details
Eq Post Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

(==) :: Post -> Post -> Bool #

(/=) :: Post -> Post -> Bool #

Data Post Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Post -> c Post #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Post #

toConstr :: Post -> Constr #

dataTypeOf :: Post -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Post) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Post) #

gmapT :: (forall b. Data b => b -> b) -> Post -> Post #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Post -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Post -> r #

gmapQ :: (forall d. Data d => d -> u) -> Post -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Post -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Post -> m Post #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Post -> m Post #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Post -> m Post #

Ord Post Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

compare :: Post -> Post -> Ordering #

(<) :: Post -> Post -> Bool #

(<=) :: Post -> Post -> Bool #

(>) :: Post -> Post -> Bool #

(>=) :: Post -> Post -> Bool #

max :: Post -> Post -> Post #

min :: Post -> Post -> Post #

Show Post Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

showsPrec :: Int -> Post -> ShowS #

show :: Post -> String #

showList :: [Post] -> ShowS #

Generic Post Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep Post :: Type -> Type #

Methods

from :: Post -> Rep Post x #

to :: Rep Post x -> Post #

ToJSON Post Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON Post Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Post Source # 
Instance details

Defined in Pinboard.ApiTypes

data PostDates Source #

Constructors

PostDates 

Instances

Instances details
Eq PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

Data PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PostDates -> c PostDates #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PostDates #

toConstr :: PostDates -> Constr #

dataTypeOf :: PostDates -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PostDates) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PostDates) #

gmapT :: (forall b. Data b => b -> b) -> PostDates -> PostDates #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PostDates -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PostDates -> r #

gmapQ :: (forall d. Data d => d -> u) -> PostDates -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PostDates -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PostDates -> m PostDates #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PostDates -> m PostDates #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PostDates -> m PostDates #

Ord PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

Show PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep PostDates :: Type -> Type #

ToJSON PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep PostDates Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep PostDates = D1 ('MetaData "PostDates" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'False) (C1 ('MetaCons "PostDates" 'PrefixI 'True) (S1 ('MetaSel ('Just "postDatesUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "postDatesTag") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "postDatesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Day, Int)]))))

Notes

data NoteList Source #

Constructors

NoteList 

Instances

Instances details
Eq NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

Data NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NoteList -> c NoteList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NoteList #

toConstr :: NoteList -> Constr #

dataTypeOf :: NoteList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NoteList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NoteList) #

gmapT :: (forall b. Data b => b -> b) -> NoteList -> NoteList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NoteList -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NoteList -> r #

gmapQ :: (forall d. Data d => d -> u) -> NoteList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NoteList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NoteList -> m NoteList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteList -> m NoteList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteList -> m NoteList #

Ord NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

Show NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep NoteList :: Type -> Type #

Methods

from :: NoteList -> Rep NoteList x #

to :: Rep NoteList x -> NoteList #

ToJSON NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep NoteList Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep NoteList = D1 ('MetaData "NoteList" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'False) (C1 ('MetaCons "NoteList" 'PrefixI 'True) (S1 ('MetaSel ('Just "noteListCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "noteListItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NoteListItem])))

data NoteListItem Source #

Instances

Instances details
Eq NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

Data NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NoteListItem -> c NoteListItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NoteListItem #

toConstr :: NoteListItem -> Constr #

dataTypeOf :: NoteListItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NoteListItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NoteListItem) #

gmapT :: (forall b. Data b => b -> b) -> NoteListItem -> NoteListItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NoteListItem -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NoteListItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> NoteListItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NoteListItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NoteListItem -> m NoteListItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteListItem -> m NoteListItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteListItem -> m NoteListItem #

Ord NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

Show NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep NoteListItem :: Type -> Type #

ToJSON NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep NoteListItem Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep NoteListItem = D1 ('MetaData "NoteListItem" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'False) (C1 ('MetaCons "NoteListItem" 'PrefixI 'True) ((S1 ('MetaSel ('Just "noteListItemId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "noteListItemHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "noteListItemTitle") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "noteListItemLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "noteListItemCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "noteListItemUpdatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime)))))

data Note Source #

Instances

Instances details
Eq Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

(==) :: Note -> Note -> Bool #

(/=) :: Note -> Note -> Bool #

Data Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Note -> c Note #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Note #

toConstr :: Note -> Constr #

dataTypeOf :: Note -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Note) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Note) #

gmapT :: (forall b. Data b => b -> b) -> Note -> Note #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Note -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Note -> r #

gmapQ :: (forall d. Data d => d -> u) -> Note -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Note -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Note -> m Note #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Note -> m Note #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Note -> m Note #

Ord Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

compare :: Note -> Note -> Ordering #

(<) :: Note -> Note -> Bool #

(<=) :: Note -> Note -> Bool #

(>) :: Note -> Note -> Bool #

(>=) :: Note -> Note -> Bool #

max :: Note -> Note -> Note #

min :: Note -> Note -> Note #

Show Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

showsPrec :: Int -> Note -> ShowS #

show :: Note -> String #

showList :: [Note] -> ShowS #

Generic Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep Note :: Type -> Type #

Methods

from :: Note -> Rep Note x #

to :: Rep Note x -> Note #

ToJSON Note Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON Note Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Note Source # 
Instance details

Defined in Pinboard.ApiTypes

Tags

newtype JsonTagMap Source #

Constructors

ToJsonTagMap 

Instances

Instances details
Eq JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

Data JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JsonTagMap -> c JsonTagMap #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JsonTagMap #

toConstr :: JsonTagMap -> Constr #

dataTypeOf :: JsonTagMap -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JsonTagMap) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonTagMap) #

gmapT :: (forall b. Data b => b -> b) -> JsonTagMap -> JsonTagMap #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JsonTagMap -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JsonTagMap -> r #

gmapQ :: (forall d. Data d => d -> u) -> JsonTagMap -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JsonTagMap -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JsonTagMap -> m JsonTagMap #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JsonTagMap -> m JsonTagMap #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JsonTagMap -> m JsonTagMap #

Show JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep JsonTagMap :: Type -> Type #

ToJSON JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep JsonTagMap Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep JsonTagMap = D1 ('MetaData "JsonTagMap" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'True) (C1 ('MetaCons "ToJsonTagMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromJsonTagMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TagMap)))

data Suggested Source #

Constructors

Popular [Text] 
Recommended [Text] 

Instances

Instances details
Eq Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

Data Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Suggested -> c Suggested #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Suggested #

toConstr :: Suggested -> Constr #

dataTypeOf :: Suggested -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Suggested) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Suggested) #

gmapT :: (forall b. Data b => b -> b) -> Suggested -> Suggested #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Suggested -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Suggested -> r #

gmapQ :: (forall d. Data d => d -> u) -> Suggested -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Suggested -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Suggested -> m Suggested #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Suggested -> m Suggested #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Suggested -> m Suggested #

Ord Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

Show Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep Suggested :: Type -> Type #

ToJSON Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

FromJSON Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Suggested Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep Suggested = D1 ('MetaData "Suggested" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'False) (C1 ('MetaCons "Popular" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :+: C1 ('MetaCons "Recommended" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

Scalars

newtype DoneResult Source #

Constructors

ToDoneResult 

Fields

Instances

Instances details
Eq DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Data DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DoneResult -> c DoneResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DoneResult #

toConstr :: DoneResult -> Constr #

dataTypeOf :: DoneResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DoneResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DoneResult) #

gmapT :: (forall b. Data b => b -> b) -> DoneResult -> DoneResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DoneResult -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DoneResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> DoneResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DoneResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DoneResult -> m DoneResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DoneResult -> m DoneResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DoneResult -> m DoneResult #

Ord DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Show DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep DoneResult :: Type -> Type #

FromJSON DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep DoneResult Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep DoneResult = D1 ('MetaData "DoneResult" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'True) (C1 ('MetaCons "ToDoneResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDoneResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ())))

newtype TextResult Source #

Constructors

ToTextResult 

Fields

Instances

Instances details
Eq TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Data TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TextResult -> c TextResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TextResult #

toConstr :: TextResult -> Constr #

dataTypeOf :: TextResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TextResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TextResult) #

gmapT :: (forall b. Data b => b -> b) -> TextResult -> TextResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TextResult -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TextResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> TextResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TextResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TextResult -> m TextResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TextResult -> m TextResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TextResult -> m TextResult #

Ord TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Show TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep TextResult :: Type -> Type #

FromJSON TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep TextResult Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep TextResult = D1 ('MetaData "TextResult" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'True) (C1 ('MetaCons "ToTextResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTextResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype UpdateTime Source #

Constructors

ToUpdateTime 

Instances

Instances details
Eq UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

Data UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateTime -> c UpdateTime #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateTime #

toConstr :: UpdateTime -> Constr #

dataTypeOf :: UpdateTime -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateTime) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateTime) #

gmapT :: (forall b. Data b => b -> b) -> UpdateTime -> UpdateTime #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTime -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTime -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateTime -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateTime -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateTime -> m UpdateTime #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTime -> m UpdateTime #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTime -> m UpdateTime #

Ord UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

Show UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

Generic UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

Associated Types

type Rep UpdateTime :: Type -> Type #

FromJSON UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep UpdateTime Source # 
Instance details

Defined in Pinboard.ApiTypes

type Rep UpdateTime = D1 ('MetaData "UpdateTime" "Pinboard.ApiTypes" "pinboard-0.10.3.0-Kv2fdyIATFsJeRiOdceUOt" 'True) (C1 ('MetaCons "ToUpdateTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))

Aliases

type Url = Text Source #

as defined by RFC 3986. Allowed schemes are http, https, javascript, mailto, ftp and file. The Safari-specific feed scheme is allowed but will be treated as a synonym for http.

type Description = Text Source #

up to 255 characters long

type Extended = Text Source #

up to 65536 characters long. Any URLs will be auto-linkified when displayed.

type Tag = Text Source #

up to 255 characters. May not contain commas or whitespace.

type Old = Tag Source #

type New = Tag Source #

type Count = Int Source #

type Date = Day Source #

UTC date in this format: 2010-12-11. Same range as datetime above

type DateTime = UTCTime Source #

UTC timestamp in this format: 2010-12-11T19:48:02Z. Valid date range is Jan 1, 1 AD to January 1, 2100 (but see note below about future timestamps).

type Meta = Int Source #