License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
GitHub.Data.Repos
Description
Synopsis
- data Repo = Repo {
- repoSshUrl :: !(Maybe URL)
- repoDescription :: !(Maybe Text)
- repoCreatedAt :: !(Maybe UTCTime)
- repoHtmlUrl :: !URL
- repoSvnUrl :: !(Maybe URL)
- repoForks :: !(Maybe Int)
- repoHomepage :: !(Maybe Text)
- repoFork :: !(Maybe Bool)
- repoGitUrl :: !(Maybe URL)
- repoPrivate :: !Bool
- repoArchived :: !Bool
- repoCloneUrl :: !(Maybe URL)
- repoSize :: !(Maybe Int)
- repoUpdatedAt :: !(Maybe UTCTime)
- repoWatchers :: !(Maybe Int)
- repoOwner :: !SimpleOwner
- repoName :: !(Name Repo)
- repoLanguage :: !(Maybe Language)
- repoDefaultBranch :: !(Maybe Text)
- repoPushedAt :: !(Maybe UTCTime)
- repoId :: !(Id Repo)
- repoUrl :: !URL
- repoOpenIssues :: !(Maybe Int)
- repoHasWiki :: !(Maybe Bool)
- repoHasIssues :: !(Maybe Bool)
- repoHasDownloads :: !(Maybe Bool)
- repoParent :: !(Maybe RepoRef)
- repoSource :: !(Maybe RepoRef)
- repoHooksUrl :: !URL
- repoStargazersCount :: !Int
- data RepoRef = RepoRef {
- repoRefOwner :: !SimpleOwner
- repoRefRepo :: !(Name Repo)
- data NewRepo = NewRepo {
- newRepoName :: !(Name Repo)
- newRepoDescription :: !(Maybe Text)
- newRepoHomepage :: !(Maybe Text)
- newRepoPrivate :: !(Maybe Bool)
- newRepoHasIssues :: !(Maybe Bool)
- newRepoHasWiki :: !(Maybe Bool)
- newRepoAutoInit :: !(Maybe Bool)
- newRepo :: Name Repo -> NewRepo
- data EditRepo = EditRepo {
- editName :: !(Maybe (Name Repo))
- editDescription :: !(Maybe Text)
- editHomepage :: !(Maybe Text)
- editPublic :: !(Maybe Bool)
- editHasIssues :: !(Maybe Bool)
- editHasWiki :: !(Maybe Bool)
- editHasDownloads :: !(Maybe Bool)
- data RepoPublicity
- type Languages = HashMap Language Int
- newtype Language = Language Text
- getLanguage :: Language -> Text
- data Contributor
- = KnownContributor !Int !URL !(Name User) !URL !(Id User) !Text
- | AnonymousContributor !Int !Text
- contributorToSimpleUser :: Contributor -> Maybe SimpleUser
- data ArchiveFormat
Documentation
Constructors
Repo | |
Fields
|
Instances
Eq Repo Source # | |
Data Repo Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Repo -> c Repo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Repo dataTypeOf :: Repo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Repo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Repo) gmapT :: (forall b. Data b => b -> b) -> Repo -> Repo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Repo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Repo -> r gmapQ :: (forall d. Data d => d -> u) -> Repo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Repo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Repo -> m Repo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Repo -> m Repo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Repo -> m Repo | |
Ord Repo Source # | |
Show Repo Source # | |
Generic Repo Source # | |
NFData Repo Source # | |
Defined in GitHub.Data.Repos | |
FromJSON Repo Source # | |
Defined in GitHub.Data.Repos | |
Binary Repo Source # | |
type Rep Repo Source # | |
Defined in GitHub.Data.Repos type Rep Repo = D1 ('MetaData "Repo" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "Repo" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "repoSshUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL)) :*: (S1 ('MetaSel ('Just "repoDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repoCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe UTCTime)))) :*: ((S1 ('MetaSel ('Just "repoHtmlUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "repoSvnUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL))) :*: (S1 ('MetaSel ('Just "repoForks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "repoHomepage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "repoFork") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "repoGitUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL))) :*: (S1 ('MetaSel ('Just "repoPrivate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "repoArchived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "repoCloneUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL)) :*: S1 ('MetaSel ('Just "repoSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "repoUpdatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "repoWatchers") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "repoOwner") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SimpleOwner) :*: (S1 ('MetaSel ('Just "repoName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Repo)) :*: S1 ('MetaSel ('Just "repoLanguage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Language)))) :*: ((S1 ('MetaSel ('Just "repoDefaultBranch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repoPushedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe UTCTime))) :*: (S1 ('MetaSel ('Just "repoId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Id Repo)) :*: S1 ('MetaSel ('Just "repoUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL)))) :*: (((S1 ('MetaSel ('Just "repoOpenIssues") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "repoHasWiki") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "repoHasIssues") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "repoHasDownloads") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "repoParent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe RepoRef)) :*: S1 ('MetaSel ('Just "repoSource") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe RepoRef))) :*: (S1 ('MetaSel ('Just "repoHooksUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "repoStargazersCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))))))) |
Constructors
RepoRef | |
Fields
|
Instances
Eq RepoRef Source # | |
Data RepoRef Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoRef -> c RepoRef gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoRef dataTypeOf :: RepoRef -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoRef) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoRef) gmapT :: (forall b. Data b => b -> b) -> RepoRef -> RepoRef gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r gmapQ :: (forall d. Data d => d -> u) -> RepoRef -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoRef -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef | |
Ord RepoRef Source # | |
Show RepoRef Source # | |
Generic RepoRef Source # | |
NFData RepoRef Source # | |
Defined in GitHub.Data.Repos | |
FromJSON RepoRef Source # | |
Defined in GitHub.Data.Repos | |
Binary RepoRef Source # | |
type Rep RepoRef Source # | |
Defined in GitHub.Data.Repos type Rep RepoRef = D1 ('MetaData "RepoRef" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "RepoRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "repoRefOwner") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SimpleOwner) :*: S1 ('MetaSel ('Just "repoRefRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Repo)))) |
Constructors
NewRepo | |
Fields
|
Instances
Eq NewRepo Source # | |
Data NewRepo Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewRepo -> c NewRepo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewRepo dataTypeOf :: NewRepo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewRepo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewRepo) gmapT :: (forall b. Data b => b -> b) -> NewRepo -> NewRepo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewRepo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewRepo -> r gmapQ :: (forall d. Data d => d -> u) -> NewRepo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> NewRepo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewRepo -> m NewRepo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewRepo -> m NewRepo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewRepo -> m NewRepo | |
Ord NewRepo Source # | |
Show NewRepo Source # | |
Generic NewRepo Source # | |
NFData NewRepo Source # | |
Defined in GitHub.Data.Repos | |
ToJSON NewRepo Source # | |
Defined in GitHub.Data.Repos Methods toEncoding :: NewRepo -> Encoding # toJSONList :: [NewRepo] -> Value # toEncodingList :: [NewRepo] -> Encoding # | |
Binary NewRepo Source # | |
type Rep NewRepo Source # | |
Defined in GitHub.Data.Repos type Rep NewRepo = D1 ('MetaData "NewRepo" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "NewRepo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "newRepoName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Repo)) :*: (S1 ('MetaSel ('Just "newRepoDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "newRepoHomepage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "newRepoPrivate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "newRepoHasIssues") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "newRepoHasWiki") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "newRepoAutoInit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)))))) |
Constructors
EditRepo | |
Fields
|
Instances
Eq EditRepo Source # | |
Data EditRepo Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EditRepo -> c EditRepo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EditRepo toConstr :: EditRepo -> Constr dataTypeOf :: EditRepo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EditRepo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EditRepo) gmapT :: (forall b. Data b => b -> b) -> EditRepo -> EditRepo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EditRepo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EditRepo -> r gmapQ :: (forall d. Data d => d -> u) -> EditRepo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EditRepo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EditRepo -> m EditRepo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EditRepo -> m EditRepo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EditRepo -> m EditRepo | |
Ord EditRepo Source # | |
Show EditRepo Source # | |
Generic EditRepo Source # | |
NFData EditRepo Source # | |
Defined in GitHub.Data.Repos | |
ToJSON EditRepo Source # | |
Defined in GitHub.Data.Repos Methods toEncoding :: EditRepo -> Encoding # toJSONList :: [EditRepo] -> Value # toEncodingList :: [EditRepo] -> Encoding # | |
Binary EditRepo Source # | |
type Rep EditRepo Source # | |
Defined in GitHub.Data.Repos type Rep EditRepo = D1 ('MetaData "EditRepo" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "EditRepo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "editName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Name Repo))) :*: (S1 ('MetaSel ('Just "editDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "editHomepage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "editPublic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "editHasIssues") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "editHasWiki") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "editHasDownloads") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)))))) |
data RepoPublicity Source #
Filter the list of the user's repos using any of these constructors.
Constructors
RepoPublicityAll | All repos accessible to the user. |
RepoPublicityOwner | Only repos owned by the user. |
RepoPublicityPublic | Only public repos. |
RepoPublicityPrivate | Only private repos. |
RepoPublicityMember | Only repos to which the user is a member but not an owner. |
Instances
Bounded RepoPublicity Source # | |
Defined in GitHub.Data.Repos | |
Enum RepoPublicity Source # | |
Defined in GitHub.Data.Repos Methods succ :: RepoPublicity -> RepoPublicity pred :: RepoPublicity -> RepoPublicity toEnum :: Int -> RepoPublicity fromEnum :: RepoPublicity -> Int enumFrom :: RepoPublicity -> [RepoPublicity] enumFromThen :: RepoPublicity -> RepoPublicity -> [RepoPublicity] enumFromTo :: RepoPublicity -> RepoPublicity -> [RepoPublicity] enumFromThenTo :: RepoPublicity -> RepoPublicity -> RepoPublicity -> [RepoPublicity] | |
Eq RepoPublicity Source # | |
Defined in GitHub.Data.Repos | |
Data RepoPublicity Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoPublicity -> c RepoPublicity gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoPublicity toConstr :: RepoPublicity -> Constr dataTypeOf :: RepoPublicity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoPublicity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoPublicity) gmapT :: (forall b. Data b => b -> b) -> RepoPublicity -> RepoPublicity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoPublicity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoPublicity -> r gmapQ :: (forall d. Data d => d -> u) -> RepoPublicity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoPublicity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoPublicity -> m RepoPublicity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoPublicity -> m RepoPublicity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoPublicity -> m RepoPublicity | |
Ord RepoPublicity Source # | |
Defined in GitHub.Data.Repos Methods compare :: RepoPublicity -> RepoPublicity -> Ordering (<) :: RepoPublicity -> RepoPublicity -> Bool (<=) :: RepoPublicity -> RepoPublicity -> Bool (>) :: RepoPublicity -> RepoPublicity -> Bool (>=) :: RepoPublicity -> RepoPublicity -> Bool max :: RepoPublicity -> RepoPublicity -> RepoPublicity min :: RepoPublicity -> RepoPublicity -> RepoPublicity | |
Show RepoPublicity Source # | |
Defined in GitHub.Data.Repos Methods showsPrec :: Int -> RepoPublicity -> ShowS show :: RepoPublicity -> String showList :: [RepoPublicity] -> ShowS | |
Generic RepoPublicity Source # | |
Defined in GitHub.Data.Repos Associated Types type Rep RepoPublicity :: Type -> Type | |
type Rep RepoPublicity Source # | |
Defined in GitHub.Data.Repos type Rep RepoPublicity = D1 ('MetaData "RepoPublicity" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) ((C1 ('MetaCons "RepoPublicityAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RepoPublicityOwner" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RepoPublicityPublic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RepoPublicityPrivate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RepoPublicityMember" 'PrefixI 'False) (U1 :: Type -> Type)))) |
type Languages = HashMap Language Int Source #
The value is the number of bytes of code written in that language.
A programming language.
Instances
Eq Language Source # | |
Data Language Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Language -> c Language gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Language toConstr :: Language -> Constr dataTypeOf :: Language -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Language) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Language) gmapT :: (forall b. Data b => b -> b) -> Language -> Language gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r gmapQ :: (forall d. Data d => d -> u) -> Language -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Language -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Language -> m Language gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language | |
Ord Language Source # | |
Show Language Source # | |
IsString Language Source # | |
Defined in GitHub.Data.Repos Methods fromString :: String -> Language # | |
Generic Language Source # | |
NFData Language Source # | |
Defined in GitHub.Data.Repos | |
FromJSON Language Source # | |
Defined in GitHub.Data.Repos | |
FromJSONKey Language Source # | |
Defined in GitHub.Data.Repos | |
ToJSON Language Source # | |
Defined in GitHub.Data.Repos Methods toEncoding :: Language -> Encoding # toJSONList :: [Language] -> Value # toEncodingList :: [Language] -> Encoding # | |
Binary Language Source # | |
Hashable Language Source # | |
Defined in GitHub.Data.Repos | |
type Rep Language Source # | |
Defined in GitHub.Data.Repos |
getLanguage :: Language -> Text Source #
data Contributor Source #
Constructors
KnownContributor !Int !URL !(Name User) !URL !(Id User) !Text | An existing Github user, with their number of contributions, avatar URL, login, URL, ID, and Gravatar ID. |
AnonymousContributor !Int !Text | An unknown Github user with their number of contributions and recorded name. |
Instances
Eq Contributor Source # | |
Defined in GitHub.Data.Repos | |
Data Contributor Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Contributor -> c Contributor gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Contributor toConstr :: Contributor -> Constr dataTypeOf :: Contributor -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Contributor) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Contributor) gmapT :: (forall b. Data b => b -> b) -> Contributor -> Contributor gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Contributor -> r gmapQ :: (forall d. Data d => d -> u) -> Contributor -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Contributor -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Contributor -> m Contributor | |
Ord Contributor Source # | |
Defined in GitHub.Data.Repos Methods compare :: Contributor -> Contributor -> Ordering (<) :: Contributor -> Contributor -> Bool (<=) :: Contributor -> Contributor -> Bool (>) :: Contributor -> Contributor -> Bool (>=) :: Contributor -> Contributor -> Bool max :: Contributor -> Contributor -> Contributor min :: Contributor -> Contributor -> Contributor | |
Show Contributor Source # | |
Defined in GitHub.Data.Repos Methods showsPrec :: Int -> Contributor -> ShowS show :: Contributor -> String showList :: [Contributor] -> ShowS | |
Generic Contributor Source # | |
Defined in GitHub.Data.Repos Associated Types type Rep Contributor :: Type -> Type | |
NFData Contributor Source # | |
Defined in GitHub.Data.Repos Methods rnf :: Contributor -> () # | |
FromJSON Contributor Source # | |
Defined in GitHub.Data.Repos | |
Binary Contributor Source # | |
Defined in GitHub.Data.Repos | |
type Rep Contributor Source # | |
Defined in GitHub.Data.Repos type Rep Contributor = D1 ('MetaData "Contributor" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "KnownContributor" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name User)))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Id User)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) :+: C1 ('MetaCons "AnonymousContributor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) |
contributorToSimpleUser :: Contributor -> Maybe SimpleUser Source #
data ArchiveFormat Source #
Constructors
ArchiveFormatTarball | ".tar.gz" format |
ArchiveFormatZipball | ".zip" format |
Instances
Bounded ArchiveFormat Source # | |
Defined in GitHub.Data.Repos | |
Enum ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Methods succ :: ArchiveFormat -> ArchiveFormat pred :: ArchiveFormat -> ArchiveFormat toEnum :: Int -> ArchiveFormat fromEnum :: ArchiveFormat -> Int enumFrom :: ArchiveFormat -> [ArchiveFormat] enumFromThen :: ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] enumFromTo :: ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] enumFromThenTo :: ArchiveFormat -> ArchiveFormat -> ArchiveFormat -> [ArchiveFormat] | |
Eq ArchiveFormat Source # | |
Defined in GitHub.Data.Repos | |
Data ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ArchiveFormat -> c ArchiveFormat gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ArchiveFormat toConstr :: ArchiveFormat -> Constr dataTypeOf :: ArchiveFormat -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ArchiveFormat) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ArchiveFormat) gmapT :: (forall b. Data b => b -> b) -> ArchiveFormat -> ArchiveFormat gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ArchiveFormat -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ArchiveFormat -> r gmapQ :: (forall d. Data d => d -> u) -> ArchiveFormat -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ArchiveFormat -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ArchiveFormat -> m ArchiveFormat gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ArchiveFormat -> m ArchiveFormat gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ArchiveFormat -> m ArchiveFormat | |
Ord ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Methods compare :: ArchiveFormat -> ArchiveFormat -> Ordering (<) :: ArchiveFormat -> ArchiveFormat -> Bool (<=) :: ArchiveFormat -> ArchiveFormat -> Bool (>) :: ArchiveFormat -> ArchiveFormat -> Bool (>=) :: ArchiveFormat -> ArchiveFormat -> Bool max :: ArchiveFormat -> ArchiveFormat -> ArchiveFormat min :: ArchiveFormat -> ArchiveFormat -> ArchiveFormat | |
Show ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Methods showsPrec :: Int -> ArchiveFormat -> ShowS show :: ArchiveFormat -> String showList :: [ArchiveFormat] -> ShowS | |
Generic ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Associated Types type Rep ArchiveFormat :: Type -> Type | |
IsPathPart ArchiveFormat Source # | |
Defined in GitHub.Data.Repos Methods toPathPart :: ArchiveFormat -> Text Source # | |
type Rep ArchiveFormat Source # | |
Defined in GitHub.Data.Repos type Rep ArchiveFormat = D1 ('MetaData "ArchiveFormat" "GitHub.Data.Repos" "github-0.23-K3uQMQDn7B7DXfUjYtDWP8" 'False) (C1 ('MetaCons "ArchiveFormatTarball" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ArchiveFormatZipball" 'PrefixI 'False) (U1 :: Type -> Type)) |