github-0.28.0.1: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
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
Eq (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

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

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

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) #

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

toConstr :: Name entity -> Constr #

dataTypeOf :: Name entity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

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

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

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

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

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

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

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

Show (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

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

show :: Name entity -> String #

showList :: [Name entity] -> ShowS #

IsString (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

fromString :: String -> Name entity #

Generic (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Associated Types

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

Methods

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

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

Hashable (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

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

hash :: Name entity -> Int #

ToJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

toJSON :: Name entity -> Value #

toEncoding :: Name entity -> Encoding #

toJSONList :: [Name entity] -> Value #

toEncodingList :: [Name entity] -> Encoding #

ToJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

FromJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

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

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

FromJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

Binary (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

put :: Name entity -> Put #

get :: Get (Name entity) #

putList :: [Name entity] -> Put #

NFData (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

rnf :: Name entity -> () #

IsPathPart (Name a) Source # 
Instance details

Defined in GitHub.Data.Request

Methods

toPathPart :: Name a -> Text 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-Ane44df1Z4EB2fvYeVzY0Q" '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
Eq (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

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

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

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) #

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

toConstr :: Id entity -> Constr #

dataTypeOf :: Id entity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

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

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

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

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

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

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

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

Show (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

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

show :: Id entity -> String #

showList :: [Id entity] -> ShowS #

Generic (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Associated Types

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

Methods

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

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

Hashable (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

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

hash :: Id entity -> Int #

ToJSON (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

toJSON :: Id entity -> Value #

toEncoding :: Id entity -> Encoding #

toJSONList :: [Id entity] -> Value #

toEncodingList :: [Id entity] -> Encoding #

FromJSON (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

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

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

Binary (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

put :: Id entity -> Put #

get :: Get (Id entity) #

putList :: [Id entity] -> Put #

NFData (Id entity) Source # 
Instance details

Defined in GitHub.Data.Id

Methods

rnf :: Id entity -> () #

IsPathPart (Id a) Source # 
Instance details

Defined in GitHub.Data.Request

Methods

toPathPart :: Id a -> Text 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-Ane44df1Z4EB2fvYeVzY0Q" '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
Eq 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 #

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

toConstr :: IssueNumber -> Constr #

dataTypeOf :: IssueNumber -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Show IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Generic IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep IssueNumber :: Type -> Type #

Hashable IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

ToJSON IssueNumber Source # 
Instance details

Defined in GitHub.Data.Definitions

FromJSON 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 -> () #

IsPathPart IssueNumber Source # 
Instance details

Defined in GitHub.Data.Request

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-Ane44df1Z4EB2fvYeVzY0Q" 'True) (C1 ('MetaCons "IssueNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Module re-exports