github-0.28.0.1: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellSafe-Inferred
LanguageHaskell2010

GitHub.Data

Description

This module re-exports the GitHub.Data. and GitHub.Auth submodules.

Synopsis

Tagged types

Name

data Name entity Source #

Instances

Instances details
FromJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

parseJSON :: Value -> Parser (Name entity) Source #

parseJSONList :: Value -> Parser [Name entity] Source #

FromJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

ToJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

toJSON :: Name entity -> Value Source #

toEncoding :: Name entity -> Encoding Source #

toJSONList :: [Name entity] -> Value Source #

toEncodingList :: [Name entity] -> Encoding Source #

ToJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

Data entity => Data (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name entity -> c (Name entity) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Name entity) Source #

toConstr :: Name entity -> Constr Source #

dataTypeOf :: Name entity -> DataType Source #

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

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

gmapT :: (forall b. Data b => b -> b) -> Name entity -> Name entity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name entity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name entity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Name entity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name entity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) Source #

IsString (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

fromString :: String -> Name entity Source #

Generic (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Associated Types

type Rep (Name entity) :: Type -> Type Source #

Methods

from :: Name entity -> Rep (Name entity) x Source #

to :: Rep (Name entity) x -> Name entity Source #

Show (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

showsPrec :: Int -> Name entity -> ShowS Source #

show :: Name entity -> String Source #

showList :: [Name entity] -> ShowS Source #

Binary (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

put :: Name entity -> Put Source #

get :: Get (Name entity) Source #

putList :: [Name entity] -> Put Source #

NFData (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

rnf :: Name entity -> () Source #

Eq (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

(==) :: Name entity -> Name entity -> Bool Source #

(/=) :: Name entity -> Name entity -> Bool Source #

Ord (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

compare :: Name entity -> Name entity -> Ordering Source #

(<) :: Name entity -> Name entity -> Bool Source #

(<=) :: Name entity -> Name entity -> Bool Source #

(>) :: Name entity -> Name entity -> Bool Source #

(>=) :: Name entity -> Name entity -> Bool Source #

max :: Name entity -> Name entity -> Name entity Source #

min :: Name entity -> Name entity -> Name entity Source #

IsPathPart (Name a) Source # 
Instance details

Defined in GitHub.Data.Request

Methods

toPathPart :: Name a -> Text Source #

Hashable (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

hashWithSalt :: Int -> Name entity -> Int Source #

hash :: Name entity -> Int Source #

type Rep (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

type Rep (Name entity) = D1 ('MetaData "Name" "GitHub.Data.Name" "github-0.28.0.1-A9NKZQ3c3R2DbW7jvGWxnx" 'True) (C1 ('MetaCons "N" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

mkName :: proxy entity -> Text -> Name entity Source #

Smart constructor for Name

untagName :: Name entity -> Text Source #

Id

data Id entity Source #

Numeric identifier.

Instances

Instances details
FromJSON (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

parseJSON :: Value -> Parser (Id entity) Source #

parseJSONList :: Value -> Parser [Id entity] Source #

ToJSON (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

toJSON :: Id entity -> Value Source #

toEncoding :: Id entity -> Encoding Source #

toJSONList :: [Id entity] -> Value Source #

toEncodingList :: [Id entity] -> Encoding Source #

Data entity => Data (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Id entity -> c (Id entity) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Id entity) Source #

toConstr :: Id entity -> Constr Source #

dataTypeOf :: Id entity -> DataType Source #

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

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

gmapT :: (forall b. Data b => b -> b) -> Id entity -> Id entity Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Id entity -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Id entity -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Id entity -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Id entity -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Id entity -> m (Id entity) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Id entity -> m (Id entity) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Id entity -> m (Id entity) Source #

Generic (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Associated Types

type Rep (Id entity) :: Type -> Type Source #

Methods

from :: Id entity -> Rep (Id entity) x Source #

to :: Rep (Id entity) x -> Id entity Source #

Show (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

showsPrec :: Int -> Id entity -> ShowS Source #

show :: Id entity -> String Source #

showList :: [Id entity] -> ShowS Source #

Binary (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

put :: Id entity -> Put Source #

get :: Get (Id entity) Source #

putList :: [Id entity] -> Put Source #

NFData (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

rnf :: Id entity -> () Source #

Eq (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

(==) :: Id entity -> Id entity -> Bool Source #

(/=) :: Id entity -> Id entity -> Bool Source #

Ord (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

compare :: Id entity -> Id entity -> Ordering Source #

(<) :: Id entity -> Id entity -> Bool Source #

(<=) :: Id entity -> Id entity -> Bool Source #

(>) :: Id entity -> Id entity -> Bool Source #

(>=) :: Id entity -> Id entity -> Bool Source #

max :: Id entity -> Id entity -> Id entity Source #

min :: Id entity -> Id entity -> Id entity Source #

IsPathPart (Id a) Source # 
Instance details

Defined in GitHub.Data.Request

Methods

toPathPart :: Id a -> Text Source #

Hashable (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

hashWithSalt :: Int -> Id entity -> Int Source #

hash :: Id entity -> Int Source #

type Rep (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

type Rep (Id entity) = D1 ('MetaData "Id" "GitHub.Data.Id" "github-0.28.0.1-A9NKZQ3c3R2DbW7jvGWxnx" 'True) (C1 ('MetaCons "Id" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

mkId :: proxy entity -> Int -> Id entity Source #

Smart constructor for Id.

untagId :: Id entity -> Int Source #

IssueNumber

newtype IssueNumber Source #

Constructors

IssueNumber Int 

Instances

Instances details
FromJSON IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

ToJSON IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Data IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Methods

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

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

toConstr :: IssueNumber -> Constr Source #

dataTypeOf :: IssueNumber -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep IssueNumber :: Type -> Type Source #

Show IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Binary IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

NFData IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: IssueNumber -> () Source #

Eq IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Ord IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

IsPathPart IssueNumber Source # 
Instance details

Defined in GitHub.Data.Request

Hashable IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

type Rep IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

type Rep IssueNumber = D1 ('MetaData "IssueNumber" "GitHub.Data.Definitions" "github-0.28.0.1-A9NKZQ3c3R2DbW7jvGWxnx" 'True) (C1 ('MetaCons "IssueNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Module re-exports