License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
GitHub.Data.Definitions
Description
Synopsis
- data Error
- data OwnerType
- data SimpleUser = SimpleUser {
- simpleUserId :: !(Id User)
- simpleUserLogin :: !(Name User)
- simpleUserAvatarUrl :: !URL
- simpleUserUrl :: !URL
- data SimpleOrganization = SimpleOrganization {}
- data SimpleOwner = SimpleOwner {
- simpleOwnerId :: !(Id Owner)
- simpleOwnerLogin :: !(Name Owner)
- simpleOwnerUrl :: !URL
- simpleOwnerAvatarUrl :: !URL
- simpleOwnerType :: !OwnerType
- data User = User {
- userId :: !(Id User)
- userLogin :: !(Name User)
- userName :: !(Maybe Text)
- userType :: !OwnerType
- userCreatedAt :: !UTCTime
- userPublicGists :: !Int
- userAvatarUrl :: !URL
- userFollowers :: !Int
- userFollowing :: !Int
- userHireable :: !(Maybe Bool)
- userBlog :: !(Maybe Text)
- userBio :: !(Maybe Text)
- userPublicRepos :: !Int
- userLocation :: !(Maybe Text)
- userCompany :: !(Maybe Text)
- userEmail :: !(Maybe Text)
- userUrl :: !URL
- userHtmlUrl :: !URL
- data Organization = Organization {
- organizationId :: !(Id Organization)
- organizationLogin :: !(Name Organization)
- organizationName :: !(Maybe Text)
- organizationType :: !OwnerType
- organizationBlog :: !(Maybe Text)
- organizationLocation :: !(Maybe Text)
- organizationFollowers :: !Int
- organizationCompany :: !(Maybe Text)
- organizationAvatarUrl :: !URL
- organizationPublicGists :: !Int
- organizationHtmlUrl :: !URL
- organizationEmail :: !(Maybe Text)
- organizationFollowing :: !Int
- organizationPublicRepos :: !Int
- organizationUrl :: !URL
- organizationCreatedAt :: !UTCTime
- newtype Owner = Owner (Either User Organization)
- fromOwner :: Owner -> Either User Organization
- parseUser :: Object -> Parser User
- parseOrganization :: Object -> Parser Organization
- data OrgMemberFilter
- data OrgMemberRole
- type QueryString = [(ByteString, Maybe ByteString)]
- type Count = Int
- newtype IssueNumber = IssueNumber Int
- unIssueNumber :: IssueNumber -> Int
- data IssueLabel = IssueLabel {
- labelColor :: !Text
- labelUrl :: !URL
- labelName :: !(Name IssueLabel)
Documentation
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 Source # | |
Exception Error Source # | |
Defined in GitHub.Data.Definitions Methods toException :: Error -> SomeException # fromException :: SomeException -> Maybe Error # displayException :: Error -> String # |
Type of the repository owners.
Constructors
OwnerUser | |
OwnerOrganization | |
OwnerBot |
Instances
Bounded OwnerType Source # | |
Defined in GitHub.Data.Definitions | |
Enum OwnerType Source # | |
Defined in GitHub.Data.Definitions | |
Eq OwnerType Source # | |
Data OwnerType Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions | |
Read OwnerType Source # | |
Show OwnerType Source # | |
Generic OwnerType Source # | |
NFData OwnerType Source # | |
Defined in GitHub.Data.Definitions | |
FromJSON OwnerType Source # | |
Defined in GitHub.Data.Definitions | |
Binary OwnerType Source # | |
type Rep OwnerType Source # | |
Defined in GitHub.Data.Definitions type Rep OwnerType = D1 ('MetaData "OwnerType" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "OwnerUser" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OwnerOrganization" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OwnerBot" 'PrefixI 'False) (U1 :: Type -> Type))) |
data SimpleUser Source #
Constructors
SimpleUser | |
Fields
|
Instances
Eq SimpleUser Source # | |
Defined in GitHub.Data.Definitions | |
Data SimpleUser Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: SimpleUser -> SimpleUser -> Ordering (<) :: SimpleUser -> SimpleUser -> Bool (<=) :: SimpleUser -> SimpleUser -> Bool (>) :: SimpleUser -> SimpleUser -> Bool (>=) :: SimpleUser -> SimpleUser -> Bool max :: SimpleUser -> SimpleUser -> SimpleUser min :: SimpleUser -> SimpleUser -> SimpleUser | |
Show SimpleUser Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> SimpleUser -> ShowS show :: SimpleUser -> String showList :: [SimpleUser] -> ShowS | |
Generic SimpleUser Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep SimpleUser :: Type -> Type | |
NFData SimpleUser Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: SimpleUser -> () # | |
FromJSON SimpleUser Source # | |
Defined in GitHub.Data.Definitions | |
Binary SimpleUser Source # | |
Defined in GitHub.Data.Definitions | |
type Rep SimpleUser Source # | |
Defined in GitHub.Data.Definitions type Rep SimpleUser = D1 ('MetaData "SimpleUser" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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 Source #
Constructors
SimpleOrganization | |
Fields |
Instances
Eq SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Methods (==) :: SimpleOrganization -> SimpleOrganization -> Bool (/=) :: SimpleOrganization -> SimpleOrganization -> Bool | |
Data SimpleOrganization Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: SimpleOrganization -> SimpleOrganization -> Ordering (<) :: SimpleOrganization -> SimpleOrganization -> Bool (<=) :: SimpleOrganization -> SimpleOrganization -> Bool (>) :: SimpleOrganization -> SimpleOrganization -> Bool (>=) :: SimpleOrganization -> SimpleOrganization -> Bool max :: SimpleOrganization -> SimpleOrganization -> SimpleOrganization min :: SimpleOrganization -> SimpleOrganization -> SimpleOrganization | |
Show SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> SimpleOrganization -> ShowS show :: SimpleOrganization -> String showList :: [SimpleOrganization] -> ShowS | |
Generic SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep SimpleOrganization :: Type -> Type Methods from :: SimpleOrganization -> Rep SimpleOrganization x to :: Rep SimpleOrganization x -> SimpleOrganization | |
NFData SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: SimpleOrganization -> () # | |
FromJSON SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Methods parseJSON :: Value -> Parser SimpleOrganization # parseJSONList :: Value -> Parser [SimpleOrganization] # | |
Binary SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions Methods put :: SimpleOrganization -> Put get :: Get SimpleOrganization putList :: [SimpleOrganization] -> Put | |
type Rep SimpleOrganization Source # | |
Defined in GitHub.Data.Definitions type Rep SimpleOrganization = D1 ('MetaData "SimpleOrganization" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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 Source #
Sometimes we don't know the type of the owner, e.g. in Repo
Constructors
SimpleOwner | |
Fields
|
Instances
Eq SimpleOwner Source # | |
Defined in GitHub.Data.Definitions | |
Data SimpleOwner Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: SimpleOwner -> SimpleOwner -> Ordering (<) :: SimpleOwner -> SimpleOwner -> Bool (<=) :: SimpleOwner -> SimpleOwner -> Bool (>) :: SimpleOwner -> SimpleOwner -> Bool (>=) :: SimpleOwner -> SimpleOwner -> Bool max :: SimpleOwner -> SimpleOwner -> SimpleOwner min :: SimpleOwner -> SimpleOwner -> SimpleOwner | |
Show SimpleOwner Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> SimpleOwner -> ShowS show :: SimpleOwner -> String showList :: [SimpleOwner] -> ShowS | |
Generic SimpleOwner Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep SimpleOwner :: Type -> Type | |
NFData SimpleOwner Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: SimpleOwner -> () # | |
FromJSON SimpleOwner Source # | |
Defined in GitHub.Data.Definitions | |
Binary SimpleOwner Source # | |
Defined in GitHub.Data.Definitions | |
type Rep SimpleOwner Source # | |
Defined in GitHub.Data.Definitions type Rep SimpleOwner = D1 ('MetaData "SimpleOwner" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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))))) |
Constructors
User | |
Fields
|
Instances
Eq User Source # | |
Data User Source # | |
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 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 :: forall r r'. (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 Source # | |
Show User Source # | |
Generic User Source # | |
NFData User Source # | |
Defined in GitHub.Data.Definitions | |
FromJSON User Source # | |
Defined in GitHub.Data.Definitions | |
Binary User Source # | |
type Rep User Source # | |
Defined in GitHub.Data.Definitions type Rep User = D1 ('MetaData "User" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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 Source #
Constructors
Organization | |
Fields
|
Instances
Eq Organization Source # | |
Defined in GitHub.Data.Definitions | |
Data Organization Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: Organization -> Organization -> Ordering (<) :: Organization -> Organization -> Bool (<=) :: Organization -> Organization -> Bool (>) :: Organization -> Organization -> Bool (>=) :: Organization -> Organization -> Bool max :: Organization -> Organization -> Organization min :: Organization -> Organization -> Organization | |
Show Organization Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> Organization -> ShowS show :: Organization -> String showList :: [Organization] -> ShowS | |
Generic Organization Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep Organization :: Type -> Type | |
NFData Organization Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: Organization -> () # | |
FromJSON Organization Source # | |
Defined in GitHub.Data.Definitions | |
Binary Organization Source # | |
Defined in GitHub.Data.Definitions | |
type Rep Organization Source # | |
Defined in GitHub.Data.Definitions type Rep Organization = D1 ('MetaData "Organization" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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)))))) |
In practic, you cam't have concrete values of Owner
.
Constructors
Owner (Either User Organization) |
Instances
Eq Owner Source # | |
Data Owner Source # | |
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 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 :: forall r r'. (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 Source # | |
Show Owner Source # | |
Generic Owner Source # | |
NFData Owner Source # | |
Defined in GitHub.Data.Definitions | |
FromJSON Owner Source # | |
Defined in GitHub.Data.Definitions | |
Binary Owner Source # | |
type Rep Owner Source # | |
Defined in GitHub.Data.Definitions type Rep Owner = D1 ('MetaData "Owner" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'True) (C1 ('MetaCons "Owner" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either User Organization)))) |
parseOrganization :: Object -> Parser Organization Source #
data OrgMemberFilter Source #
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
data OrgMemberRole Source #
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 Source # | |
Defined in GitHub.Data.Definitions | |
Enum OrgMemberRole Source # | |
Defined in GitHub.Data.Definitions Methods succ :: OrgMemberRole -> OrgMemberRole pred :: OrgMemberRole -> OrgMemberRole toEnum :: Int -> OrgMemberRole fromEnum :: OrgMemberRole -> Int enumFrom :: OrgMemberRole -> [OrgMemberRole] enumFromThen :: OrgMemberRole -> OrgMemberRole -> [OrgMemberRole] enumFromTo :: OrgMemberRole -> OrgMemberRole -> [OrgMemberRole] enumFromThenTo :: OrgMemberRole -> OrgMemberRole -> OrgMemberRole -> [OrgMemberRole] | |
Eq OrgMemberRole Source # | |
Defined in GitHub.Data.Definitions | |
Data OrgMemberRole Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: OrgMemberRole -> OrgMemberRole -> Ordering (<) :: OrgMemberRole -> OrgMemberRole -> Bool (<=) :: OrgMemberRole -> OrgMemberRole -> Bool (>) :: OrgMemberRole -> OrgMemberRole -> Bool (>=) :: OrgMemberRole -> OrgMemberRole -> Bool max :: OrgMemberRole -> OrgMemberRole -> OrgMemberRole min :: OrgMemberRole -> OrgMemberRole -> OrgMemberRole | |
Show OrgMemberRole Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> OrgMemberRole -> ShowS show :: OrgMemberRole -> String showList :: [OrgMemberRole] -> ShowS | |
Generic OrgMemberRole Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep OrgMemberRole :: Type -> Type | |
type Rep OrgMemberRole Source # | |
Defined in GitHub.Data.Definitions type Rep OrgMemberRole = D1 ('MetaData "OrgMemberRole" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "OrgMemberRoleAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrgMemberRoleAdmin" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrgMemberRoleMember" 'PrefixI 'False) (U1 :: Type -> Type))) |
type QueryString = [(ByteString, Maybe ByteString)] Source #
Request query string
newtype IssueNumber Source #
Constructors
IssueNumber Int |
Instances
Eq IssueNumber Source # | |
Defined in GitHub.Data.Definitions | |
Data IssueNumber Source # | |
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 # | |
Defined in GitHub.Data.Definitions Methods compare :: IssueNumber -> IssueNumber -> Ordering (<) :: IssueNumber -> IssueNumber -> Bool (<=) :: IssueNumber -> IssueNumber -> Bool (>) :: IssueNumber -> IssueNumber -> Bool (>=) :: IssueNumber -> IssueNumber -> Bool max :: IssueNumber -> IssueNumber -> IssueNumber min :: IssueNumber -> IssueNumber -> IssueNumber | |
Show IssueNumber Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> IssueNumber -> ShowS show :: IssueNumber -> String showList :: [IssueNumber] -> ShowS | |
Generic IssueNumber Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep IssueNumber :: Type -> Type | |
NFData IssueNumber Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: IssueNumber -> () # | |
FromJSON IssueNumber Source # | |
Defined in GitHub.Data.Definitions | |
ToJSON IssueNumber Source # | |
Defined in GitHub.Data.Definitions Methods toJSON :: IssueNumber -> Value # toEncoding :: IssueNumber -> Encoding # toJSONList :: [IssueNumber] -> Value # toEncodingList :: [IssueNumber] -> Encoding # | |
Binary IssueNumber Source # | |
Defined in GitHub.Data.Definitions | |
Hashable IssueNumber Source # | |
Defined in GitHub.Data.Definitions | |
IsPathPart IssueNumber Source # | |
Defined in GitHub.Data.Request Methods toPathPart :: IssueNumber -> Text Source # | |
type Rep IssueNumber Source # | |
Defined in GitHub.Data.Definitions type Rep IssueNumber = D1 ('MetaData "IssueNumber" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'True) (C1 ('MetaCons "IssueNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
unIssueNumber :: IssueNumber -> Int Source #
data IssueLabel Source #
Constructors
IssueLabel | |
Fields
|
Instances
Eq IssueLabel Source # | |
Defined in GitHub.Data.Definitions | |
Data IssueLabel Source # | |
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 :: forall r r'. (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 Source # | |
Defined in GitHub.Data.Definitions Methods compare :: IssueLabel -> IssueLabel -> Ordering (<) :: IssueLabel -> IssueLabel -> Bool (<=) :: IssueLabel -> IssueLabel -> Bool (>) :: IssueLabel -> IssueLabel -> Bool (>=) :: IssueLabel -> IssueLabel -> Bool max :: IssueLabel -> IssueLabel -> IssueLabel min :: IssueLabel -> IssueLabel -> IssueLabel | |
Show IssueLabel Source # | |
Defined in GitHub.Data.Definitions Methods showsPrec :: Int -> IssueLabel -> ShowS show :: IssueLabel -> String showList :: [IssueLabel] -> ShowS | |
Generic IssueLabel Source # | |
Defined in GitHub.Data.Definitions Associated Types type Rep IssueLabel :: Type -> Type | |
NFData IssueLabel Source # | |
Defined in GitHub.Data.Definitions Methods rnf :: IssueLabel -> () # | |
FromJSON IssueLabel Source # | |
Defined in GitHub.Data.Definitions | |
Binary IssueLabel Source # | |
Defined in GitHub.Data.Definitions | |
type Rep IssueLabel Source # | |
Defined in GitHub.Data.Definitions type Rep IssueLabel = D1 ('MetaData "IssueLabel" "GitHub.Data.Definitions" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" '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))))) |