github-0.23: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.RateLimit

Description

 

Documentation

data Limits Source #

Constructors

Limits 
Instances
Eq Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

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

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

Data Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

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

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

toConstr :: Limits -> Constr #

dataTypeOf :: Limits -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Show Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Generic Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Associated Types

type Rep Limits :: Type -> Type #

Methods

from :: Limits -> Rep Limits x #

to :: Rep Limits x -> Limits #

FromJSON Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Binary Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

put :: Limits -> Put #

get :: Get Limits #

putList :: [Limits] -> Put #

NFData Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

rnf :: Limits -> () #

type Rep Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

type Rep Limits = D1 (MetaData "Limits" "GitHub.Data.RateLimit" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "Limits" PrefixI True) (S1 (MetaSel (Just "limitsMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "limitsRemaining") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "limitsReset") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

data RateLimit Source #

Instances
Eq RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Data RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

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

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

toConstr :: RateLimit -> Constr #

dataTypeOf :: RateLimit -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Show RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Generic RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Associated Types

type Rep RateLimit :: Type -> Type #

FromJSON RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Binary RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

NFData RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

rnf :: RateLimit -> () #

type Rep RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

type Rep RateLimit = D1 (MetaData "RateLimit" "GitHub.Data.RateLimit" "github-0.23-11dKNrzUdUsEui3iNni5w1" False) (C1 (MetaCons "RateLimit" PrefixI True) (S1 (MetaSel (Just "rateLimitCore") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits) :*: (S1 (MetaSel (Just "rateLimitSearch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits) :*: S1 (MetaSel (Just "rateLimitGraphQL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits))))