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

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

GitHub.Data.Definitions

Description

 
Synopsis

Documentation

data Error #

Errors have been tagged according to their source, so you can more easily dispatch and handle them.

Constructors

HTTPError !HttpException

A HTTP error occurred. The actual caught error is included.

ParseError !Text

An error in the parser itself.

JsonError !Text

The JSON is malformed or unexpected.

UserError !Text

Incorrect input.

Instances
Show Error # 
Instance details

Defined in GitHub.Data.Definitions

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Exception Error # 
Instance details

Defined in GitHub.Data.Definitions

data OwnerType #

Type of the repository owners.

Instances
Bounded OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Enum OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Eq OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Data OwnerType # 
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) -> OwnerType -> c OwnerType #

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

toConstr :: OwnerType -> Constr #

dataTypeOf :: OwnerType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Read OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Show OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Generic OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep OwnerType :: * -> * #

FromJSON OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Binary OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

NFData OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: OwnerType -> () #

type Rep OwnerType # 
Instance details

Defined in GitHub.Data.Definitions

type Rep OwnerType = D1 (MetaData "OwnerType" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "OwnerUser" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OwnerOrganization" PrefixI False) (U1 :: * -> *))

data SimpleUser #

Instances
Eq SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Data SimpleUser # 
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) -> SimpleUser -> c SimpleUser #

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

toConstr :: SimpleUser -> Constr #

dataTypeOf :: SimpleUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Show SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Generic SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep SimpleUser :: * -> * #

FromJSON SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Binary SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

NFData SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: SimpleUser -> () #

type Rep SimpleUser # 
Instance details

Defined in GitHub.Data.Definitions

type Rep SimpleUser = D1 (MetaData "SimpleUser" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "SimpleUser" PrefixI True) ((S1 (MetaSel (Just "simpleUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id User)) :*: S1 (MetaSel (Just "simpleUserLogin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name User))) :*: (S1 (MetaSel (Just "simpleUserAvatarUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "simpleUserUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL))))

data SimpleOrganization #

Instances
Eq SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Data SimpleOrganization # 
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) -> SimpleOrganization -> c SimpleOrganization #

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

toConstr :: SimpleOrganization -> Constr #

dataTypeOf :: SimpleOrganization -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Show SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Generic SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep SimpleOrganization :: * -> * #

FromJSON SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Binary SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

NFData SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: SimpleOrganization -> () #

type Rep SimpleOrganization # 
Instance details

Defined in GitHub.Data.Definitions

type Rep SimpleOrganization = D1 (MetaData "SimpleOrganization" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "SimpleOrganization" PrefixI True) ((S1 (MetaSel (Just "simpleOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id Organization)) :*: S1 (MetaSel (Just "simpleOrganizationLogin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Organization))) :*: (S1 (MetaSel (Just "simpleOrganizationUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "simpleOrganizationAvatarUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL))))

data SimpleOwner #

Sometimes we don't know the type of the owner, e.g. in Repo

Instances
Eq SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Data SimpleOwner # 
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) -> SimpleOwner -> c SimpleOwner #

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

toConstr :: SimpleOwner -> Constr #

dataTypeOf :: SimpleOwner -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Show SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Generic SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep SimpleOwner :: * -> * #

FromJSON SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Binary SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

NFData SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: SimpleOwner -> () #

type Rep SimpleOwner # 
Instance details

Defined in GitHub.Data.Definitions

type Rep SimpleOwner = D1 (MetaData "SimpleOwner" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "SimpleOwner" PrefixI True) ((S1 (MetaSel (Just "simpleOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id Owner)) :*: S1 (MetaSel (Just "simpleOwnerLogin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Owner))) :*: (S1 (MetaSel (Just "simpleOwnerUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: (S1 (MetaSel (Just "simpleOwnerAvatarUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "simpleOwnerType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OwnerType)))))

data User #

Instances
Eq User # 
Instance details

Defined in GitHub.Data.Definitions

Methods

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

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

Data User # 
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) -> User -> c User #

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

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord User # 
Instance details

Defined in GitHub.Data.Definitions

Methods

compare :: User -> User -> Ordering #

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

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

(>) :: User -> User -> Bool #

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

max :: User -> User -> User #

min :: User -> User -> User #

Show User # 
Instance details

Defined in GitHub.Data.Definitions

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep User :: * -> * #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

FromJSON User # 
Instance details

Defined in GitHub.Data.Definitions

Binary User # 
Instance details

Defined in GitHub.Data.Definitions

Methods

put :: User -> Put #

get :: Get User #

putList :: [User] -> Put #

NFData User # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: User -> () #

type Rep User # 
Instance details

Defined in GitHub.Data.Definitions

type Rep User = D1 (MetaData "User" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "User" PrefixI True) ((((S1 (MetaSel (Just "userId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id User)) :*: S1 (MetaSel (Just "userLogin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name User))) :*: (S1 (MetaSel (Just "userName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "userType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OwnerType))) :*: ((S1 (MetaSel (Just "userCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UTCTime) :*: S1 (MetaSel (Just "userPublicGists") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "userAvatarUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: (S1 (MetaSel (Just "userFollowers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "userFollowing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))) :*: (((S1 (MetaSel (Just "userHireable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "userBlog") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "userBio") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "userPublicRepos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))) :*: ((S1 (MetaSel (Just "userLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "userCompany") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "userEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "userUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "userHtmlUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)))))))

data Organization #

Instances
Eq Organization # 
Instance details

Defined in GitHub.Data.Definitions

Data Organization # 
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) -> Organization -> c Organization #

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

toConstr :: Organization -> Constr #

dataTypeOf :: Organization -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Organization # 
Instance details

Defined in GitHub.Data.Definitions

Show Organization # 
Instance details

Defined in GitHub.Data.Definitions

Generic Organization # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep Organization :: * -> * #

FromJSON Organization # 
Instance details

Defined in GitHub.Data.Definitions

Binary Organization # 
Instance details

Defined in GitHub.Data.Definitions

NFData Organization # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: Organization -> () #

type Rep Organization # 
Instance details

Defined in GitHub.Data.Definitions

type Rep Organization = D1 (MetaData "Organization" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "Organization" PrefixI True) ((((S1 (MetaSel (Just "organizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Id Organization)) :*: S1 (MetaSel (Just "organizationLogin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Organization))) :*: (S1 (MetaSel (Just "organizationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "organizationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OwnerType))) :*: ((S1 (MetaSel (Just "organizationBlog") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "organizationLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "organizationFollowers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "organizationCompany") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "organizationAvatarUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "organizationPublicGists") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "organizationHtmlUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "organizationEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "organizationFollowing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "organizationPublicRepos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "organizationUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "organizationCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UTCTime))))))

newtype Owner #

In practic, you cam't have concrete values of Owner.

Constructors

Owner (Either User Organization) 
Instances
Eq Owner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

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

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

Data Owner # 
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) -> Owner -> c Owner #

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

toConstr :: Owner -> Constr #

dataTypeOf :: Owner -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Owner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

compare :: Owner -> Owner -> Ordering #

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

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

(>) :: Owner -> Owner -> Bool #

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

max :: Owner -> Owner -> Owner #

min :: Owner -> Owner -> Owner #

Show Owner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

showsPrec :: Int -> Owner -> ShowS #

show :: Owner -> String #

showList :: [Owner] -> ShowS #

Generic Owner # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep Owner :: * -> * #

Methods

from :: Owner -> Rep Owner x #

to :: Rep Owner x -> Owner #

FromJSON Owner # 
Instance details

Defined in GitHub.Data.Definitions

Binary Owner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

put :: Owner -> Put #

get :: Get Owner #

putList :: [Owner] -> Put #

NFData Owner # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: Owner -> () #

type Rep Owner # 
Instance details

Defined in GitHub.Data.Definitions

type Rep Owner = D1 (MetaData "Owner" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" True) (C1 (MetaCons "Owner" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Either User Organization))))

data OrgMemberFilter #

Filter members returned in the list.

Constructors

OrgMemberFilter2faDisabled

Members without two-factor authentication enabled. Available for organization owners.

OrgMemberFilterAll

All members the authenticated user can see.

Instances
Bounded OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Enum OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Eq OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Data OrgMemberFilter # 
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) -> OrgMemberFilter -> c OrgMemberFilter #

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

toConstr :: OrgMemberFilter -> Constr #

dataTypeOf :: OrgMemberFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Show OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Generic OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep OrgMemberFilter :: * -> * #

type Rep OrgMemberFilter # 
Instance details

Defined in GitHub.Data.Definitions

type Rep OrgMemberFilter = D1 (MetaData "OrgMemberFilter" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "OrgMemberFilter2faDisabled" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OrgMemberFilterAll" PrefixI False) (U1 :: * -> *))

data OrgMemberRole #

Filter members returned by their role.

Constructors

OrgMemberRoleAll

All members of the organization, regardless of role.

OrgMemberRoleAdmin

Organization owners.

OrgMemberRoleMember

Non-owner organization members.

Instances
Bounded OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Enum OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Eq OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Data OrgMemberRole # 
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) -> OrgMemberRole -> c OrgMemberRole #

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

toConstr :: OrgMemberRole -> Constr #

dataTypeOf :: OrgMemberRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Show OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Generic OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep OrgMemberRole :: * -> * #

type Rep OrgMemberRole # 
Instance details

Defined in GitHub.Data.Definitions

type Rep OrgMemberRole = D1 (MetaData "OrgMemberRole" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "OrgMemberRoleAll" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "OrgMemberRoleAdmin" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OrgMemberRoleMember" PrefixI False) (U1 :: * -> *)))

type QueryString = [(ByteString, Maybe ByteString)] #

Request query string

type Count = Int #

Count of elements

data IssueLabel #

Constructors

IssueLabel 
Instances
Eq IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Data IssueLabel # 
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) -> IssueLabel -> c IssueLabel #

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

toConstr :: IssueLabel -> Constr #

dataTypeOf :: IssueLabel -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Show IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Generic IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Associated Types

type Rep IssueLabel :: * -> * #

FromJSON IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Binary IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

NFData IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

Methods

rnf :: IssueLabel -> () #

type Rep IssueLabel # 
Instance details

Defined in GitHub.Data.Definitions

type Rep IssueLabel = D1 (MetaData "IssueLabel" "GitHub.Data.Definitions" "github-0.19-JgukH9x8BCmAGGdsxcG3e3" False) (C1 (MetaCons "IssueLabel" PrefixI True) (S1 (MetaSel (Just "labelColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "labelUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "labelName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name IssueLabel)))))