github-post-receive-1.1.0.0: GitHub webhooks library

Safe HaskellNone
LanguageHaskell2010

Github.PostReceive.Types

Synopsis

Documentation

data Repository Source

Constructors

Repository 

Fields

repoId :: Int
 
repoName :: Text
 
repoFullName :: Text
 
repoOwner :: Or SimpleUser User
 
repoPrivate :: Bool
 
repoHtmlUrl :: Url
 
repoDescription :: Text
 
repoFork :: Bool
 
repoUrl :: Text
 
repoForksUrl :: Url
 
repoKeysUrl :: Url
 
repoCollaboratorsUrl :: Url
 
repoTeamsUrl :: Url
 
repoHooksUrl :: Url
 
repoIssueEventsUrl :: Url
 
repoEventsUrl :: Url
 
repoAssigneesUrl :: Url
 
repoBranchesUrl :: Url
 
repoTagsUrl :: Url
 
repoBlobsUrl :: Url
 
repoGitTagsUrl :: Url
 
repoGitRefsUrl :: Url
 
repoTreesUrl :: Url
 
repoStatusesUrl :: Url
 
repoLanguagesUrl :: Url
 
repoStargazersUrl :: Url
 
repoContributorsUrl :: Url
 
repoSubscribersUrl :: Url
 
repoSubscriptionUrl :: Url
 
repoCommitsUrl :: Url
 
repoGitCommitsUrl :: Url
 
repoIssueCommentUrl :: Url
 
repoContentsUrl :: Url
 
repoCompareUrl :: Url
 
repoMergesUrl :: Url
 
repoArchiveUrl :: Url
 
repoDownloadsUrl :: Url
 
repoIssuesUrl :: Url
 
repoPullsUrl :: Url
 
repoMilestonesUrl :: Url
 
repoNotificationsUrl :: Url
 
repoLabelsUrl :: Url
 
repoReleasesUrl :: Url
 
repoCreatedAt :: Or Int Text
 
repoUpdatedAt :: Text
 
repoPushedAt :: Or Int Text
 
repoGitUrl :: Url
 
repoSshUrl :: Url
 
repoCloneUrl :: Url
 
repoSvnUrl :: Url
 
repoHomepage :: Maybe Url
 
repoSize :: Int
 
repoStargazersCount :: Int
 
repoWatchersCount :: Int
 
repoLanguage :: Text
 
repoHasIssues :: Bool
 
repoHasDownloads :: Bool
 
repoHasWiki :: Bool
 
repoHasPages :: Bool
 
repoForksCount :: Int
 
repoMirrorUrl :: Maybe Url
 
repoOpenIssuesCount :: Int
 
repoForks :: Int
 
repoOpenIssues :: Int
 
repoWatchers :: Int
 
repoStargazers :: Maybe Int
 
repoMasterBranch :: Maybe Text
 

data Tree Source

Constructors

Tree 

Fields

treeSHA :: Text
 
treeUrl :: Url
 

data Or a b Source

Or a b represents a or b The reason why we don't use Either type is that Either Int String type parses { "left": 1 } or { "right": "foo" }, but we want to parse 1 or "foo".

Constructors

L a 
R b 

Instances

(Eq a, Eq b) => Eq (Or a b) 
(Show a, Show b) => Show (Or a b) 
(FromJSON a, FromJSON b) => FromJSON (Or a b) 
Typeable (* -> * -> *) Or 

toEither :: Or a b -> Either a b Source