Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data RepoWebhook = RepoWebhook {
- repoWebhookUrl :: !URL
- repoWebhookTestUrl :: !URL
- repoWebhookId :: !(Id RepoWebhook)
- repoWebhookName :: !Text
- repoWebhookActive :: !Bool
- repoWebhookEvents :: !(Vector RepoWebhookEvent)
- repoWebhookConfig :: !(Map Text Text)
- repoWebhookLastResponse :: !RepoWebhookResponse
- repoWebhookUpdatedAt :: !UTCTime
- repoWebhookCreatedAt :: !UTCTime
- data RepoWebhookEvent
- = WebhookWildcardEvent
- | WebhookCheckRunEvent
- | WebhookCheckSuiteEvent
- | WebhookCodeScanningAlert
- | WebhookCommitCommentEvent
- | WebhookContentReferenceEvent
- | WebhookCreateEvent
- | WebhookDeleteEvent
- | WebhookDeployKeyEvent
- | WebhookDeploymentEvent
- | WebhookDeploymentStatusEvent
- | WebhookDiscussion
- | WebhookDiscussionComment
- | WebhookDownloadEvent
- | WebhookFollowEvent
- | WebhookForkEvent
- | WebhookGistEvent
- | WebhookGitHubAppAuthorizationEvent
- | WebhookGollumEvent
- | WebhookInstallationEvent
- | WebhookInstallationRepositoriesEvent
- | WebhookIssueCommentEvent
- | WebhookIssuesEvent
- | WebhookLabelEvent
- | WebhookMarketplacePurchaseEvent
- | WebhookMemberEvent
- | WebhookMembershipEvent
- | WebhookMetaEvent
- | WebhookMilestoneEvent
- | WebhookOrgBlockEvent
- | WebhookOrganizationEvent
- | WebhookPackage
- | WebhookPageBuildEvent
- | WebhookPingEvent
- | WebhookProjectCardEvent
- | WebhookProjectColumnEvent
- | WebhookProjectEvent
- | WebhookPublicEvent
- | WebhookPullRequestEvent
- | WebhookPullRequestReviewCommentEvent
- | WebhookPullRequestReviewEvent
- | WebhookPushEvent
- | WebhookRegistryPackageEvent
- | WebhookReleaseEvent
- | WebhookRepositoryDispatch
- | WebhookRepositoryEvent
- | WebhookRepositoryImportEvent
- | WebhookRepositoryVulnerabilityAlertEvent
- | WebhookSecretScanningAlert
- | WebhookSecurityAdvisoryEvent
- | WebhookSponsorship
- | WebhookStarEvent
- | WebhookStatusEvent
- | WebhookTeamAddEvent
- | WebhookTeamEvent
- | WebhookWatchEvent
- | WebhookWorkflowDispatch
- | WebhookWorkflowRun
- data RepoWebhookResponse = RepoWebhookResponse {}
- data PingEvent = PingEvent {
- pingEventZen :: !Text
- pingEventHook :: !RepoWebhook
- pingEventHookId :: !(Id RepoWebhook)
- data NewRepoWebhook = NewRepoWebhook {
- newRepoWebhookName :: !Text
- newRepoWebhookConfig :: !(Map Text Text)
- newRepoWebhookEvents :: !(Maybe (Vector RepoWebhookEvent))
- newRepoWebhookActive :: !(Maybe Bool)
- data EditRepoWebhook = EditRepoWebhook {}
Documentation
data RepoWebhook Source #
RepoWebhook | |
|
Instances
data RepoWebhookEvent Source #
Instances
Data RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoWebhookEvent -> c RepoWebhookEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoWebhookEvent # toConstr :: RepoWebhookEvent -> Constr # dataTypeOf :: RepoWebhookEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoWebhookEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoWebhookEvent) # gmapT :: (forall b. Data b => b -> b) -> RepoWebhookEvent -> RepoWebhookEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoWebhookEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoWebhookEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> RepoWebhookEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoWebhookEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoWebhookEvent -> m RepoWebhookEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoWebhookEvent -> m RepoWebhookEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoWebhookEvent -> m RepoWebhookEvent # | |
Generic RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks type Rep RepoWebhookEvent :: Type -> Type # from :: RepoWebhookEvent -> Rep RepoWebhookEvent x # to :: Rep RepoWebhookEvent x -> RepoWebhookEvent # | |
Show RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks showsPrec :: Int -> RepoWebhookEvent -> ShowS # show :: RepoWebhookEvent -> String # showList :: [RepoWebhookEvent] -> ShowS # | |
Binary RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks | |
NFData RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks rnf :: RepoWebhookEvent -> () # | |
Eq RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks (==) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # (/=) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # | |
Ord RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks compare :: RepoWebhookEvent -> RepoWebhookEvent -> Ordering # (<) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # (<=) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # (>) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # (>=) :: RepoWebhookEvent -> RepoWebhookEvent -> Bool # max :: RepoWebhookEvent -> RepoWebhookEvent -> RepoWebhookEvent # min :: RepoWebhookEvent -> RepoWebhookEvent -> RepoWebhookEvent # | |
FromJSON RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks parseJSON :: Value -> Parser RepoWebhookEvent # parseJSONList :: Value -> Parser [RepoWebhookEvent] # | |
ToJSON RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks toJSON :: RepoWebhookEvent -> Value # toEncoding :: RepoWebhookEvent -> Encoding # toJSONList :: [RepoWebhookEvent] -> Value # toEncodingList :: [RepoWebhookEvent] -> Encoding # | |
type Rep RepoWebhookEvent Source # | |
Defined in GitHub.Data.Webhooks type Rep RepoWebhookEvent = D1 ('MetaData "RepoWebhookEvent" "GitHub.Data.Webhooks" "github-0.29-inplace" 'False) (((((C1 ('MetaCons "WebhookWildcardEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookCheckRunEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookCheckSuiteEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookCodeScanningAlert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookCommitCommentEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookContentReferenceEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookCreateEvent" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "WebhookDeleteEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookDeployKeyEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookDeploymentEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookDeploymentStatusEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookDiscussion" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookDiscussionComment" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookDownloadEvent" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "WebhookFollowEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookForkEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookGistEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookGitHubAppAuthorizationEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookGollumEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookInstallationEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookInstallationRepositoriesEvent" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "WebhookIssueCommentEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookIssuesEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookLabelEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookMarketplacePurchaseEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookMemberEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookMembershipEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookMetaEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookMilestoneEvent" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "WebhookOrgBlockEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookOrganizationEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookPackage" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookPageBuildEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookPingEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookProjectCardEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookProjectColumnEvent" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "WebhookProjectEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookPublicEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookPullRequestEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookPullRequestReviewCommentEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookPullRequestReviewEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookPushEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookRegistryPackageEvent" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "WebhookReleaseEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebhookRepositoryDispatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookRepositoryEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookRepositoryImportEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookRepositoryVulnerabilityAlertEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookSecretScanningAlert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookSecurityAdvisoryEvent" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "WebhookSponsorship" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookStarEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookStatusEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookTeamAddEvent" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WebhookTeamEvent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookWatchEvent" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WebhookWorkflowDispatch" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebhookWorkflowRun" 'PrefixI 'False) (U1 :: Type -> Type))))))) |
data RepoWebhookResponse Source #
RepoWebhookResponse | |
|
Instances
PingEvent | |
|
Instances
Data PingEvent Source # | |
Defined in GitHub.Data.Webhooks gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PingEvent -> c PingEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PingEvent # toConstr :: PingEvent -> Constr # dataTypeOf :: PingEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PingEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PingEvent) # gmapT :: (forall b. Data b => b -> b) -> PingEvent -> PingEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PingEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PingEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PingEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PingEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PingEvent -> m PingEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PingEvent -> m PingEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PingEvent -> m PingEvent # | |
Generic PingEvent Source # | |
Show PingEvent Source # | |
Binary PingEvent Source # | |
NFData PingEvent Source # | |
Defined in GitHub.Data.Webhooks | |
Eq PingEvent Source # | |
Ord PingEvent Source # | |
Defined in GitHub.Data.Webhooks | |
FromJSON PingEvent Source # | |
Defined in GitHub.Data.Webhooks | |
type Rep PingEvent Source # | |
Defined in GitHub.Data.Webhooks type Rep PingEvent = D1 ('MetaData "PingEvent" "GitHub.Data.Webhooks" "github-0.29-inplace" 'False) (C1 ('MetaCons "PingEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "pingEventZen") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "pingEventHook") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RepoWebhook) :*: S1 ('MetaSel ('Just "pingEventHookId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Id RepoWebhook))))) |
data NewRepoWebhook Source #
NewRepoWebhook | |
|
Instances
data EditRepoWebhook Source #