Copyright | (c) Cuedo Control Engineering 2017-2022 |
---|---|
License | MIT |
Maintainer | Kyle Van Berendonck <[email protected]> |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
GitHub.Data.Webhooks.Events
Description
This module contains types that represent GitHub webhook's events.
Synopsis
- class EventHasSender eventKind where
- senderOfEvent :: eventKind -> HookUser
- class EventHasMaybeSender eventKind where
- maybeSenderOfEvent :: eventKind -> Maybe HookUser
- class EventHasRepo eventKind where
- repoForEvent :: eventKind -> HookRepository
- data CheckSuiteEventAction
- data CheckSuiteEvent = CheckSuiteEvent {}
- data CheckRunEventAction
- data CheckRunEvent = CheckRunEvent {
- evCheckRunAction :: !CheckRunEventAction
- evCheckRunCheckRun :: !HookCheckRun
- evCheckRunRequestedAction :: !(Maybe HookCheckRunRequestedAction)
- evCheckRunRepository :: !HookRepository
- evCheckRunOrganization :: !(Maybe HookOrganization)
- evCheckRunSender :: !HookUser
- evCheckRunInstallation :: !(Maybe HookChecksInstallation)
- data CommitCommentEvent = CommitCommentEvent {}
- data CommitCommentEventAction
- data CreateEvent = CreateEvent {}
- data DeleteEvent = DeleteEvent {}
- data DeploymentEvent = DeploymentEvent {}
- data DeploymentStatusEvent = DeploymentStatusEvent {}
- data DownloadEvent = DownloadEvent
- data FollowEvent = FollowEvent
- data ForkEvent = ForkEvent {}
- data ForkApplyEvent = ForkApplyEvent
- data GistEvent = GistEvent
- data GollumEvent = GollumEvent {
- evGollumPages :: !(Vector HookWikiPage)
- evGollumRepo :: !HookRepository
- evGollumSender :: !HookUser
- data InstallationEvent = InstallationEvent {}
- data InstallationEventAction
- data InstallationRepositoriesEvent = InstallationRepositoriesEvent {}
- data InstallationRepoEventAction
- data IssueCommentEvent = IssueCommentEvent {}
- data IssueCommentEventAction
- data IssuesEvent = IssuesEvent {}
- data IssuesEventAction
- data LabelEvent = LabelEvent {}
- data LabelEventAction
- data MarketplacePurchaseEvent = MarketplacePurchaseEvent {}
- data MarketplacePurchaseEventAction
- data MemberEvent = MemberEvent {}
- data MemberEventAction
- data MembershipEvent = MembershipEvent {}
- data MembershipEventAction
- data MilestoneEvent = MilestoneEvent {}
- data MilestoneEventAction
- data OrganizationEvent = OrganizationEvent {}
- data OrganizationEventAction
- data OrgBlockEvent = OrgBlockEvent {}
- data OrgBlockEventAction
- data PageBuildEvent = PageBuildEvent {}
- data ProjectCardEvent = ProjectCardEvent {}
- data ProjectCardEventAction
- data ProjectColumnEvent = ProjectColumnEvent {}
- data ProjectColumnEventAction
- data ProjectEvent = ProjectEvent {}
- data ProjectEventAction
- data PublicEvent = PublicEvent {}
- data PullRequestEvent = PullRequestEvent {}
- data PullRequestEventAction
- = PullRequestAssignedAction
- | PullRequestUnassignedAction
- | PullRequestReviewRequestedAction
- | PullRequestReviewRequestRemovedAction
- | PullRequestLabeledAction
- | PullRequestUnlabeledAction
- | PullRequestOpenedAction
- | PullRequestEditedAction
- | PullRequestClosedAction
- | PullRequestReopenedAction
- | PullRequestActionOther !Text
- data PullRequestReviewEvent = PullRequestReviewEvent {}
- data PullRequestReviewEventAction
- data PullRequestReviewCommentEvent = PullRequestReviewCommentEvent {}
- data PullRequestReviewCommentEventAction
- data PushEvent = PushEvent {
- evPushRef :: !Text
- evPushHeadSha :: !(Maybe Text)
- evPushBeforeSha :: !(Maybe Text)
- evPushCreated :: !Bool
- evPushDeleted :: !Bool
- evPushForced :: !Bool
- evPushBaseRef :: !(Maybe Text)
- evPushCompareUrl :: !URL
- evPushCommits :: !(Maybe (Vector HookCommit))
- evPushHeadCommit :: !(Maybe HookCommit)
- evPushRepository :: !HookRepository
- evPushOrganization :: !(Maybe HookOrganization)
- evPushSender :: !(Maybe HookUser)
- data ReleaseEvent = ReleaseEvent {}
- data ReleaseEventAction
- data RepositoryEvent = RepositoryEvent {}
- data RepositoryEventAction
- data StatusEvent = StatusEvent {
- evStatusId :: !Int
- evStatusCommitSha :: !Text
- evStatusCommitName :: !Text
- evStatusTargetUrl :: !(Maybe URL)
- evStatusContext :: !Text
- evStatusDescription :: !(Maybe Text)
- evStatusState :: !StatusEventState
- evStatusCommit :: !HookCommit
- evStatusCreatedAt :: !UTCTime
- evStatusUpdatedAt :: !UTCTime
- evStatusRepo :: !HookRepository
- evStatusSender :: !HookUser
- data StatusEventState
- data TeamEvent = TeamEvent {}
- data TeamEventAction
- data TeamAddEvent = TeamAddEvent {}
- data WatchEvent = WatchEvent {}
- data WatchEventAction
Documentation
class EventHasSender eventKind where Source #
Represents an event that contains its sender information.
Methods
senderOfEvent :: eventKind -> HookUser Source #
Provides the sender context of a Webhook event.
Instances
class EventHasMaybeSender eventKind where Source #
Represents an event that may contain its sender information.
Methods
maybeSenderOfEvent :: eventKind -> Maybe HookUser Source #
Provides the sender context of a Webhook event.
Instances
class EventHasRepo eventKind where Source #
Represents an event that contains its repository information.
Methods
repoForEvent :: eventKind -> HookRepository Source #
Provides the repository context of a Webhook event.
Instances
data CheckSuiteEventAction Source #
Represents the "action" field in the
CheckSuiteEvent
payload.
Constructors
CheckSuiteEventActionCompleted | Decodes from "completed" |
CheckSuiteEventActionRequested | Decodes from "requested" |
CheckSuiteEventActionRerequested | Decodes from "rerequested" |
CheckSuiteEventActionOther !Text | The result of decoding an unknown check suite event action type |
Instances
data CheckSuiteEvent Source #
Triggered when a check suite is completed, requested, or rerequested. See https://developer.github.com/v3/activity/events/types/#checksuiteevent.
Constructors
CheckSuiteEvent | |
Instances
FromJSON CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser CheckSuiteEvent # parseJSONList :: Value -> Parser [CheckSuiteEvent] # | |||||
NFData CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CheckSuiteEvent -> () # | |||||
Data CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CheckSuiteEvent -> c CheckSuiteEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CheckSuiteEvent # toConstr :: CheckSuiteEvent -> Constr # dataTypeOf :: CheckSuiteEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CheckSuiteEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CheckSuiteEvent) # gmapT :: (forall b. Data b => b -> b) -> CheckSuiteEvent -> CheckSuiteEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CheckSuiteEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CheckSuiteEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> CheckSuiteEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CheckSuiteEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CheckSuiteEvent -> m CheckSuiteEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckSuiteEvent -> m CheckSuiteEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckSuiteEvent -> m CheckSuiteEvent # | |||||
Generic CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: CheckSuiteEvent -> Rep CheckSuiteEvent x # to :: Rep CheckSuiteEvent x -> CheckSuiteEvent # | |||||
Show CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CheckSuiteEvent -> ShowS # show :: CheckSuiteEvent -> String # showList :: [CheckSuiteEvent] -> ShowS # | |||||
Eq CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: CheckSuiteEvent -> CheckSuiteEvent -> Bool # (/=) :: CheckSuiteEvent -> CheckSuiteEvent -> Bool # | |||||
EventHasRepo CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep CheckSuiteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CheckSuiteEvent = D1 ('MetaData "CheckSuiteEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "CheckSuiteEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCheckSuiteAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CheckSuiteEventAction) :*: (S1 ('MetaSel ('Just "evCheckSuiteCheckSuite") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookCheckSuite) :*: S1 ('MetaSel ('Just "evCheckSuiteRepository") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository))) :*: (S1 ('MetaSel ('Just "evCheckSuiteOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganization)) :*: (S1 ('MetaSel ('Just "evCheckSuiteSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser) :*: S1 ('MetaSel ('Just "evCheckSuiteInstallation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookChecksInstallation)))))) |
data CheckRunEventAction Source #
Represents the "action" field in the
CheckRunEvent
payload.
Constructors
CheckRunEventActionCreated | Decodes from "created" |
CheckRunEventActionCompleted | Decodes from "completed" |
CheckRunEventActionRerequested | Decodes from "rerequested" |
CheckRunEventActionRequestedAction | Decodes from "requested_action" |
CheckRunEventActionOther !Text | The result of decoding an unknown check run event action type |
Instances
FromJSON CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser CheckRunEventAction # parseJSONList :: Value -> Parser [CheckRunEventAction] # | |||||
NFData CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CheckRunEventAction -> () # | |||||
Data CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CheckRunEventAction -> c CheckRunEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CheckRunEventAction # toConstr :: CheckRunEventAction -> Constr # dataTypeOf :: CheckRunEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CheckRunEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CheckRunEventAction) # gmapT :: (forall b. Data b => b -> b) -> CheckRunEventAction -> CheckRunEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CheckRunEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CheckRunEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> CheckRunEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CheckRunEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CheckRunEventAction -> m CheckRunEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckRunEventAction -> m CheckRunEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckRunEventAction -> m CheckRunEventAction # | |||||
Generic CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: CheckRunEventAction -> Rep CheckRunEventAction x # to :: Rep CheckRunEventAction x -> CheckRunEventAction # | |||||
Show CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CheckRunEventAction -> ShowS # show :: CheckRunEventAction -> String # showList :: [CheckRunEventAction] -> ShowS # | |||||
Eq CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: CheckRunEventAction -> CheckRunEventAction -> Bool # (/=) :: CheckRunEventAction -> CheckRunEventAction -> Bool # | |||||
Ord CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: CheckRunEventAction -> CheckRunEventAction -> Ordering # (<) :: CheckRunEventAction -> CheckRunEventAction -> Bool # (<=) :: CheckRunEventAction -> CheckRunEventAction -> Bool # (>) :: CheckRunEventAction -> CheckRunEventAction -> Bool # (>=) :: CheckRunEventAction -> CheckRunEventAction -> Bool # max :: CheckRunEventAction -> CheckRunEventAction -> CheckRunEventAction # min :: CheckRunEventAction -> CheckRunEventAction -> CheckRunEventAction # | |||||
type Rep CheckRunEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CheckRunEventAction = D1 ('MetaData "CheckRunEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "CheckRunEventActionCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CheckRunEventActionCompleted" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CheckRunEventActionRerequested" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CheckRunEventActionRequestedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CheckRunEventActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data CheckRunEvent Source #
Triggered when a check run is created, rerequested, completed, or has a requested_action. See https://developer.github.com/v3/activity/events/types/#checkrunevent.
Constructors
CheckRunEvent | |
Fields
|
Instances
FromJSON CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser CheckRunEvent # parseJSONList :: Value -> Parser [CheckRunEvent] # | |||||
NFData CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CheckRunEvent -> () # | |||||
Data CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CheckRunEvent -> c CheckRunEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CheckRunEvent # toConstr :: CheckRunEvent -> Constr # dataTypeOf :: CheckRunEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CheckRunEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CheckRunEvent) # gmapT :: (forall b. Data b => b -> b) -> CheckRunEvent -> CheckRunEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CheckRunEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CheckRunEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> CheckRunEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CheckRunEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CheckRunEvent -> m CheckRunEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckRunEvent -> m CheckRunEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckRunEvent -> m CheckRunEvent # | |||||
Generic CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CheckRunEvent -> ShowS # show :: CheckRunEvent -> String # showList :: [CheckRunEvent] -> ShowS # | |||||
Eq CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: CheckRunEvent -> CheckRunEvent -> Bool # (/=) :: CheckRunEvent -> CheckRunEvent -> Bool # | |||||
EventHasRepo CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep CheckRunEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CheckRunEvent = D1 ('MetaData "CheckRunEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "CheckRunEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCheckRunAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CheckRunEventAction) :*: (S1 ('MetaSel ('Just "evCheckRunCheckRun") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookCheckRun) :*: S1 ('MetaSel ('Just "evCheckRunRequestedAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookCheckRunRequestedAction)))) :*: ((S1 ('MetaSel ('Just "evCheckRunRepository") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evCheckRunOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganization))) :*: (S1 ('MetaSel ('Just "evCheckRunSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser) :*: S1 ('MetaSel ('Just "evCheckRunInstallation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookChecksInstallation)))))) |
data CommitCommentEvent Source #
Triggered when a commit comment is created. See https://developer.github.com/v3/activity/events/types/#commitcommentevent.
Constructors
CommitCommentEvent | |
Instances
FromJSON CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser CommitCommentEvent # parseJSONList :: Value -> Parser [CommitCommentEvent] # | |||||
NFData CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CommitCommentEvent -> () # | |||||
Data CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommitCommentEvent -> c CommitCommentEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommitCommentEvent # toConstr :: CommitCommentEvent -> Constr # dataTypeOf :: CommitCommentEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommitCommentEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommitCommentEvent) # gmapT :: (forall b. Data b => b -> b) -> CommitCommentEvent -> CommitCommentEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommitCommentEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommitCommentEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> CommitCommentEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CommitCommentEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommitCommentEvent -> m CommitCommentEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommitCommentEvent -> m CommitCommentEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommitCommentEvent -> m CommitCommentEvent # | |||||
Generic CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: CommitCommentEvent -> Rep CommitCommentEvent x # to :: Rep CommitCommentEvent x -> CommitCommentEvent # | |||||
Show CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CommitCommentEvent -> ShowS # show :: CommitCommentEvent -> String # showList :: [CommitCommentEvent] -> ShowS # | |||||
Eq CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: CommitCommentEvent -> CommitCommentEvent -> Bool # (/=) :: CommitCommentEvent -> CommitCommentEvent -> Bool # | |||||
EventHasRepo CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: CommitCommentEvent -> HookRepository Source # | |||||
EventHasSender CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep CommitCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CommitCommentEvent = D1 ('MetaData "CommitCommentEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "CommitCommentEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCommitCommentAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CommitCommentEventAction) :*: S1 ('MetaSel ('Just "evCommitCommentPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookCommitComment)) :*: (S1 ('MetaSel ('Just "evCommitCommentRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evCommitCommentSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data CommitCommentEventAction Source #
Represents the "action" field in the
CommitCommentEvent
payload.
Constructors
CommitCommentActionCreated | Decodes from "created" |
CommitCommentActionOther !Text | The result of decoding an unknown commit comment event action type |
Instances
FromJSON CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser CommitCommentEventAction # parseJSONList :: Value -> Parser [CommitCommentEventAction] # | |||||
NFData CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CommitCommentEventAction -> () # | |||||
Data CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommitCommentEventAction -> c CommitCommentEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommitCommentEventAction # toConstr :: CommitCommentEventAction -> Constr # dataTypeOf :: CommitCommentEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommitCommentEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommitCommentEventAction) # gmapT :: (forall b. Data b => b -> b) -> CommitCommentEventAction -> CommitCommentEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommitCommentEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommitCommentEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> CommitCommentEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CommitCommentEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommitCommentEventAction -> m CommitCommentEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommitCommentEventAction -> m CommitCommentEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommitCommentEventAction -> m CommitCommentEventAction # | |||||
Generic CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: CommitCommentEventAction -> Rep CommitCommentEventAction x # to :: Rep CommitCommentEventAction x -> CommitCommentEventAction # | |||||
Show CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CommitCommentEventAction -> ShowS # show :: CommitCommentEventAction -> String # showList :: [CommitCommentEventAction] -> ShowS # | |||||
Eq CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # (/=) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # | |||||
Ord CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: CommitCommentEventAction -> CommitCommentEventAction -> Ordering # (<) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # (<=) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # (>) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # (>=) :: CommitCommentEventAction -> CommitCommentEventAction -> Bool # max :: CommitCommentEventAction -> CommitCommentEventAction -> CommitCommentEventAction # min :: CommitCommentEventAction -> CommitCommentEventAction -> CommitCommentEventAction # | |||||
type Rep CommitCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CommitCommentEventAction = D1 ('MetaData "CommitCommentEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "CommitCommentActionCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CommitCommentActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) |
data CreateEvent Source #
Represents a created repository, branch, or tag. Note: webhooks will not receive this event for created repositories. Additionally, webhooks will not receive this event for tags if more than three tags are pushed at once. See https://developer.github.com/v3/activity/events/types/#createevent.
Constructors
CreateEvent | |
Fields
|
Instances
FromJSON CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: CreateEvent -> () # | |||||
Data CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateEvent -> c CreateEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateEvent # toConstr :: CreateEvent -> Constr # dataTypeOf :: CreateEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateEvent) # gmapT :: (forall b. Data b => b -> b) -> CreateEvent -> CreateEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> CreateEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateEvent -> m CreateEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateEvent -> m CreateEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateEvent -> m CreateEvent # | |||||
Generic CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> CreateEvent -> ShowS # show :: CreateEvent -> String # showList :: [CreateEvent] -> ShowS # | |||||
Eq CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: CreateEvent -> HookUser Source # | |||||
type Rep CreateEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep CreateEvent = D1 ('MetaData "CreateEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "CreateEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evCreateRef") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "evCreateRefType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evCreateMasterBranch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "evCreateDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evCreatePusherType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OwnerType)) :*: (S1 ('MetaSel ('Just "evCreateRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evCreateSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data DeleteEvent Source #
Represents a deleted branch or tag. Note: webhooks will not receive this event for tags if more than three tags are deleted at once. See https://developer.github.com/v3/activity/events/types/#deleteevent.
Constructors
DeleteEvent | |
Fields
|
Instances
FromJSON DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: DeleteEvent -> () # | |||||
Data DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteEvent -> c DeleteEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteEvent # toConstr :: DeleteEvent -> Constr # dataTypeOf :: DeleteEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteEvent) # gmapT :: (forall b. Data b => b -> b) -> DeleteEvent -> DeleteEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> DeleteEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteEvent -> m DeleteEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEvent -> m DeleteEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEvent -> m DeleteEvent # | |||||
Generic DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> DeleteEvent -> ShowS # show :: DeleteEvent -> String # showList :: [DeleteEvent] -> ShowS # | |||||
Eq DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: DeleteEvent -> HookUser Source # | |||||
type Rep DeleteEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep DeleteEvent = D1 ('MetaData "DeleteEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "DeleteEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evDeleteRef") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evDeleteRefType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "evDeletePusherType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OwnerType) :*: (S1 ('MetaSel ('Just "evDeleteRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evDeleteSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data DeploymentEvent Source #
Represents a deployment. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#deploymentevent.
Constructors
DeploymentEvent | |
Fields |
Instances
FromJSON DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser DeploymentEvent # parseJSONList :: Value -> Parser [DeploymentEvent] # | |||||
NFData DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: DeploymentEvent -> () # | |||||
Data DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentEvent -> c DeploymentEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentEvent # toConstr :: DeploymentEvent -> Constr # dataTypeOf :: DeploymentEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentEvent) # gmapT :: (forall b. Data b => b -> b) -> DeploymentEvent -> DeploymentEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> DeploymentEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentEvent -> m DeploymentEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentEvent -> m DeploymentEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentEvent -> m DeploymentEvent # | |||||
Generic DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: DeploymentEvent -> Rep DeploymentEvent x # to :: Rep DeploymentEvent x -> DeploymentEvent # | |||||
Show DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> DeploymentEvent -> ShowS # show :: DeploymentEvent -> String # showList :: [DeploymentEvent] -> ShowS # | |||||
Eq DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: DeploymentEvent -> DeploymentEvent -> Bool # (/=) :: DeploymentEvent -> DeploymentEvent -> Bool # | |||||
EventHasRepo DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep DeploymentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep DeploymentEvent = D1 ('MetaData "DeploymentEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "DeploymentEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "evDeploymentInfo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookDeployment) :*: (S1 ('MetaSel ('Just "evDeploymentRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evDeploymentSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data DeploymentStatusEvent Source #
Represents a deployment status. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#deploymentstatusevent.
Constructors
DeploymentStatusEvent | |
Instances
FromJSON DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser DeploymentStatusEvent # parseJSONList :: Value -> Parser [DeploymentStatusEvent] # | |||||
NFData DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: DeploymentStatusEvent -> () # | |||||
Data DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentStatusEvent -> c DeploymentStatusEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentStatusEvent # toConstr :: DeploymentStatusEvent -> Constr # dataTypeOf :: DeploymentStatusEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentStatusEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentStatusEvent) # gmapT :: (forall b. Data b => b -> b) -> DeploymentStatusEvent -> DeploymentStatusEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentStatusEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentStatusEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> DeploymentStatusEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentStatusEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentStatusEvent -> m DeploymentStatusEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentStatusEvent -> m DeploymentStatusEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentStatusEvent -> m DeploymentStatusEvent # | |||||
Generic DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: DeploymentStatusEvent -> Rep DeploymentStatusEvent x # to :: Rep DeploymentStatusEvent x -> DeploymentStatusEvent # | |||||
Show DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> DeploymentStatusEvent -> ShowS # show :: DeploymentStatusEvent -> String # showList :: [DeploymentStatusEvent] -> ShowS # | |||||
Eq DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: DeploymentStatusEvent -> DeploymentStatusEvent -> Bool # (/=) :: DeploymentStatusEvent -> DeploymentStatusEvent -> Bool # | |||||
EventHasRepo DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: DeploymentStatusEvent -> HookRepository Source # | |||||
EventHasSender DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep DeploymentStatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep DeploymentStatusEvent = D1 ('MetaData "DeploymentStatusEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "DeploymentStatusEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evDeplStatusInfo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookDeploymentStatus) :*: S1 ('MetaSel ('Just "evDeplStatusDeployment") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookDeployment)) :*: (S1 ('MetaSel ('Just "evDeplStatusRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evDeplStatusSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data DownloadEvent Source #
Triggered when a new download is created. Events of this kind are no longer delivered. See https://developer.github.com/v3/activity/events/types/#downloadevent.
Constructors
DownloadEvent |
data FollowEvent Source #
Triggered when a user follows another user. Events of this kind are no longer delivered. See https://developer.github.com/v3/activity/events/types/#downloadevent.
Constructors
FollowEvent |
Triggered when a user forks a repository. See https://developer.github.com/v3/activity/events/types/#forkevent.
Constructors
ForkEvent | |
Fields |
Instances
FromJSON ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
Data ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForkEvent -> c ForkEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForkEvent # toConstr :: ForkEvent -> Constr # dataTypeOf :: ForkEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ForkEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForkEvent) # gmapT :: (forall b. Data b => b -> b) -> ForkEvent -> ForkEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForkEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForkEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> ForkEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ForkEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForkEvent -> m ForkEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForkEvent -> m ForkEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForkEvent -> m ForkEvent # | |||||
Generic ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show ForkEvent Source # | |||||
Eq ForkEvent Source # | |||||
EventHasRepo ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: ForkEvent -> HookUser Source # | |||||
type Rep ForkEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ForkEvent = D1 ('MetaData "ForkEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ForkEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "evForkDestination") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evForkSource") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evForkSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data ForkApplyEvent Source #
Triggered when a patch is applied in the Fork Queue. Events of this kind are no longer delivered. See https://developer.github.com/v3/activity/events/types/#forkapplyevent.
Constructors
ForkApplyEvent |
Triggered when a Gist is created or updated. Events of this kind are no longer delivered. See https://developer.github.com/v3/activity/events/types/#gistevent.
Constructors
GistEvent |
data GollumEvent Source #
Triggered when a Wiki page is created or updated. See https://developer.github.com/v3/activity/events/types/#gollumevent.
Constructors
GollumEvent | |
Fields
|
Instances
FromJSON GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: GollumEvent -> () # | |||||
Data GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GollumEvent -> c GollumEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GollumEvent # toConstr :: GollumEvent -> Constr # dataTypeOf :: GollumEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GollumEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GollumEvent) # gmapT :: (forall b. Data b => b -> b) -> GollumEvent -> GollumEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GollumEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GollumEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> GollumEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> GollumEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GollumEvent -> m GollumEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GollumEvent -> m GollumEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GollumEvent -> m GollumEvent # | |||||
Generic GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> GollumEvent -> ShowS # show :: GollumEvent -> String # showList :: [GollumEvent] -> ShowS # | |||||
Eq GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: GollumEvent -> HookUser Source # | |||||
type Rep GollumEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep GollumEvent = D1 ('MetaData "GollumEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "GollumEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "evGollumPages") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector HookWikiPage)) :*: (S1 ('MetaSel ('Just "evGollumRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evGollumSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data InstallationEvent Source #
Triggered when a GitHub App has been installed or uninstalled. See https://developer.github.com/v3/activity/events/types/#installationevent.
Constructors
InstallationEvent | |
Fields |
Instances
FromJSON InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser InstallationEvent # parseJSONList :: Value -> Parser [InstallationEvent] # | |||||
NFData InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: InstallationEvent -> () # | |||||
Data InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstallationEvent -> c InstallationEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstallationEvent # toConstr :: InstallationEvent -> Constr # dataTypeOf :: InstallationEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstallationEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstallationEvent) # gmapT :: (forall b. Data b => b -> b) -> InstallationEvent -> InstallationEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstallationEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstallationEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> InstallationEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstallationEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstallationEvent -> m InstallationEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationEvent -> m InstallationEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationEvent -> m InstallationEvent # | |||||
Generic InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: InstallationEvent -> Rep InstallationEvent x # to :: Rep InstallationEvent x -> InstallationEvent # | |||||
Show InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> InstallationEvent -> ShowS # show :: InstallationEvent -> String # showList :: [InstallationEvent] -> ShowS # | |||||
Eq InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: InstallationEvent -> InstallationEvent -> Bool # (/=) :: InstallationEvent -> InstallationEvent -> Bool # | |||||
EventHasSender InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep InstallationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep InstallationEvent = D1 ('MetaData "InstallationEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "InstallationEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evInstallationAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 InstallationEventAction) :*: S1 ('MetaSel ('Just "evInstallationInfo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookInstallation)) :*: (S1 ('MetaSel ('Just "evInstallationRepos") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector HookRepositorySimple)) :*: S1 ('MetaSel ('Just "evInstallationSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data InstallationEventAction Source #
Constructors
InstallationCreatedAction | Decodes from "created" |
InstallationDeletedAction | Decodes from "deleted" |
InstallationSuspendAction | Decodes from "suspend" |
InstallationUnsuspendAction | Decodes from "unsuspend" |
InstallationNewPermissionsAcceptedAction | Decodes from "new_permissions_accepted" |
InstallationActionOther !Text | The result of decoding an unknown installation event action type |
Instances
FromJSON InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser InstallationEventAction # parseJSONList :: Value -> Parser [InstallationEventAction] # | |||||
NFData InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: InstallationEventAction -> () # | |||||
Data InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstallationEventAction -> c InstallationEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstallationEventAction # toConstr :: InstallationEventAction -> Constr # dataTypeOf :: InstallationEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstallationEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstallationEventAction) # gmapT :: (forall b. Data b => b -> b) -> InstallationEventAction -> InstallationEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstallationEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstallationEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> InstallationEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstallationEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstallationEventAction -> m InstallationEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationEventAction -> m InstallationEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationEventAction -> m InstallationEventAction # | |||||
Generic InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: InstallationEventAction -> Rep InstallationEventAction x # to :: Rep InstallationEventAction x -> InstallationEventAction # | |||||
Show InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> InstallationEventAction -> ShowS # show :: InstallationEventAction -> String # showList :: [InstallationEventAction] -> ShowS # | |||||
Eq InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: InstallationEventAction -> InstallationEventAction -> Bool # (/=) :: InstallationEventAction -> InstallationEventAction -> Bool # | |||||
Ord InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: InstallationEventAction -> InstallationEventAction -> Ordering # (<) :: InstallationEventAction -> InstallationEventAction -> Bool # (<=) :: InstallationEventAction -> InstallationEventAction -> Bool # (>) :: InstallationEventAction -> InstallationEventAction -> Bool # (>=) :: InstallationEventAction -> InstallationEventAction -> Bool # max :: InstallationEventAction -> InstallationEventAction -> InstallationEventAction # min :: InstallationEventAction -> InstallationEventAction -> InstallationEventAction # | |||||
type Rep InstallationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep InstallationEventAction = D1 ('MetaData "InstallationEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "InstallationCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InstallationDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstallationSuspendAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "InstallationUnsuspendAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InstallationNewPermissionsAcceptedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstallationActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data InstallationRepositoriesEvent Source #
Triggered when a repository is added or removed from an installation. See https://developer.github.com/v3/activity/events/types/#installationrepositoriesevent.
Constructors
InstallationRepositoriesEvent | |
Fields |
Instances
FromJSON InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: InstallationRepositoriesEvent -> () # | |||||
Data InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstallationRepositoriesEvent -> c InstallationRepositoriesEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstallationRepositoriesEvent # toConstr :: InstallationRepositoriesEvent -> Constr # dataTypeOf :: InstallationRepositoriesEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstallationRepositoriesEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstallationRepositoriesEvent) # gmapT :: (forall b. Data b => b -> b) -> InstallationRepositoriesEvent -> InstallationRepositoriesEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstallationRepositoriesEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstallationRepositoriesEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> InstallationRepositoriesEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstallationRepositoriesEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstallationRepositoriesEvent -> m InstallationRepositoriesEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationRepositoriesEvent -> m InstallationRepositoriesEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationRepositoriesEvent -> m InstallationRepositoriesEvent # | |||||
Generic InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> InstallationRepositoriesEvent -> ShowS # show :: InstallationRepositoriesEvent -> String # showList :: [InstallationRepositoriesEvent] -> ShowS # | |||||
Eq InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasSender InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: InstallationRepositoriesEvent -> HookUser Source # | |||||
type Rep InstallationRepositoriesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep InstallationRepositoriesEvent = D1 ('MetaData "InstallationRepositoriesEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "InstallationRepositoriesEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evInstallationRepoAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 InstallationRepoEventAction) :*: (S1 ('MetaSel ('Just "evInstallationRepoInfo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookInstallation) :*: S1 ('MetaSel ('Just "evInstallationRepoSel") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "evInstallationReposAdd") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector HookRepositorySimple)) :*: (S1 ('MetaSel ('Just "evInstallationReposRemove") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector HookRepositorySimple)) :*: S1 ('MetaSel ('Just "evInstallationReposSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data InstallationRepoEventAction Source #
Constructors
InstallationRepoAddedAction | Decodes from "added" |
InstallationRepoRemovedAction | Decodes from "removed" |
InstallationRepoActionOther !Text | The result of decoding an unknown installation repo event action type |
Instances
FromJSON InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: InstallationRepoEventAction -> () # | |||||
Data InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstallationRepoEventAction -> c InstallationRepoEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstallationRepoEventAction # toConstr :: InstallationRepoEventAction -> Constr # dataTypeOf :: InstallationRepoEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstallationRepoEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstallationRepoEventAction) # gmapT :: (forall b. Data b => b -> b) -> InstallationRepoEventAction -> InstallationRepoEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstallationRepoEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstallationRepoEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> InstallationRepoEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InstallationRepoEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstallationRepoEventAction -> m InstallationRepoEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationRepoEventAction -> m InstallationRepoEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallationRepoEventAction -> m InstallationRepoEventAction # | |||||
Generic InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: InstallationRepoEventAction -> Rep InstallationRepoEventAction x # to :: Rep InstallationRepoEventAction x -> InstallationRepoEventAction # | |||||
Show InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> InstallationRepoEventAction -> ShowS # show :: InstallationRepoEventAction -> String # showList :: [InstallationRepoEventAction] -> ShowS # | |||||
Eq InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # (/=) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # | |||||
Ord InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: InstallationRepoEventAction -> InstallationRepoEventAction -> Ordering # (<) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # (<=) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # (>) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # (>=) :: InstallationRepoEventAction -> InstallationRepoEventAction -> Bool # max :: InstallationRepoEventAction -> InstallationRepoEventAction -> InstallationRepoEventAction # min :: InstallationRepoEventAction -> InstallationRepoEventAction -> InstallationRepoEventAction # | |||||
type Rep InstallationRepoEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep InstallationRepoEventAction = D1 ('MetaData "InstallationRepoEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "InstallationRepoAddedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InstallationRepoRemovedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstallationRepoActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data IssueCommentEvent Source #
Triggered when an issue comment is created, edited, or deleted. See https://developer.github.com/v3/activity/events/types/#issuecommentevent.
Constructors
IssueCommentEvent | |
Instances
FromJSON IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser IssueCommentEvent # parseJSONList :: Value -> Parser [IssueCommentEvent] # | |||||
NFData IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: IssueCommentEvent -> () # | |||||
Data IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssueCommentEvent -> c IssueCommentEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssueCommentEvent # toConstr :: IssueCommentEvent -> Constr # dataTypeOf :: IssueCommentEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssueCommentEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssueCommentEvent) # gmapT :: (forall b. Data b => b -> b) -> IssueCommentEvent -> IssueCommentEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssueCommentEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssueCommentEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> IssueCommentEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IssueCommentEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssueCommentEvent -> m IssueCommentEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueCommentEvent -> m IssueCommentEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueCommentEvent -> m IssueCommentEvent # | |||||
Generic IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: IssueCommentEvent -> Rep IssueCommentEvent x # to :: Rep IssueCommentEvent x -> IssueCommentEvent # | |||||
Show IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> IssueCommentEvent -> ShowS # show :: IssueCommentEvent -> String # showList :: [IssueCommentEvent] -> ShowS # | |||||
Eq IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: IssueCommentEvent -> IssueCommentEvent -> Bool # (/=) :: IssueCommentEvent -> IssueCommentEvent -> Bool # | |||||
EventHasRepo IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: IssueCommentEvent -> HookRepository Source # | |||||
EventHasSender IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep IssueCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep IssueCommentEvent = D1 ('MetaData "IssueCommentEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "IssueCommentEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evIssueCommentAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IssueCommentEventAction) :*: S1 ('MetaSel ('Just "evIssueCommentIssue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookIssue)) :*: (S1 ('MetaSel ('Just "evIssueCommentPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookIssueComment) :*: (S1 ('MetaSel ('Just "evIssueCommentRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evIssueCommentSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data IssueCommentEventAction Source #
Constructors
IssueCommentCreatedAction | Decodes from "created" |
IssueCommentEditedAction | Decodes from "edited" |
IssueCommentDeletedAction | Decodes from "deleted" |
IssueCommentActionOther !Text | The result of decoding an unknown issue comment event action type |
Instances
FromJSON IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser IssueCommentEventAction # parseJSONList :: Value -> Parser [IssueCommentEventAction] # | |||||
NFData IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: IssueCommentEventAction -> () # | |||||
Data IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssueCommentEventAction -> c IssueCommentEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssueCommentEventAction # toConstr :: IssueCommentEventAction -> Constr # dataTypeOf :: IssueCommentEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssueCommentEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssueCommentEventAction) # gmapT :: (forall b. Data b => b -> b) -> IssueCommentEventAction -> IssueCommentEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssueCommentEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssueCommentEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> IssueCommentEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IssueCommentEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssueCommentEventAction -> m IssueCommentEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueCommentEventAction -> m IssueCommentEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueCommentEventAction -> m IssueCommentEventAction # | |||||
Generic IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: IssueCommentEventAction -> Rep IssueCommentEventAction x # to :: Rep IssueCommentEventAction x -> IssueCommentEventAction # | |||||
Show IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> IssueCommentEventAction -> ShowS # show :: IssueCommentEventAction -> String # showList :: [IssueCommentEventAction] -> ShowS # | |||||
Eq IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # (/=) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # | |||||
Ord IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: IssueCommentEventAction -> IssueCommentEventAction -> Ordering # (<) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # (<=) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # (>) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # (>=) :: IssueCommentEventAction -> IssueCommentEventAction -> Bool # max :: IssueCommentEventAction -> IssueCommentEventAction -> IssueCommentEventAction # min :: IssueCommentEventAction -> IssueCommentEventAction -> IssueCommentEventAction # | |||||
type Rep IssueCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep IssueCommentEventAction = D1 ('MetaData "IssueCommentEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "IssueCommentCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssueCommentEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssueCommentDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssueCommentActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data IssuesEvent Source #
Triggered when an issue is assigned, unassigned, labeled, unlabeled, opened, edited, milestoned, demilestoned, closed, or reopened. See https://developer.github.com/v3/activity/events/types/#issuesevent.
Constructors
IssuesEvent | |
Instances
FromJSON IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: IssuesEvent -> () # | |||||
Data IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssuesEvent -> c IssuesEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssuesEvent # toConstr :: IssuesEvent -> Constr # dataTypeOf :: IssuesEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssuesEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssuesEvent) # gmapT :: (forall b. Data b => b -> b) -> IssuesEvent -> IssuesEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssuesEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssuesEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> IssuesEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IssuesEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssuesEvent -> m IssuesEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuesEvent -> m IssuesEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuesEvent -> m IssuesEvent # | |||||
Generic IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> IssuesEvent -> ShowS # show :: IssuesEvent -> String # showList :: [IssuesEvent] -> ShowS # | |||||
Eq IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: IssuesEvent -> HookUser Source # | |||||
type Rep IssuesEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep IssuesEvent = D1 ('MetaData "IssuesEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "IssuesEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evIssuesEventAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IssuesEventAction) :*: S1 ('MetaSel ('Just "evIssuesEventIssue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookIssue)) :*: (S1 ('MetaSel ('Just "evIssuesEventRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evIssuesEventSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data IssuesEventAction Source #
Constructors
IssuesAssignedAction | Decodes from "assigned" |
IssuesUnassignedAction | Decodes from "unassigned" |
IssuesLabeledAction | Decodes from "labeled" |
IssuesUnlabeledAction | Decodes from "unlabeled" |
IssuesOpenedAction | Decodes from "opened" |
IssuesEditedAction | Decodes from "edited" |
IssuesMilestonedAction | Decodes from "milestoned" |
IssuesDemilestonedAction | Decodes from "demilestoned" |
IssuesClosedAction | Decodes from "closed" |
IssuesReopenedAction | Decodes from "reopened" |
IssuesActionOther !Text | The result of decoding an unknown issue comment event action type |
Instances
FromJSON IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser IssuesEventAction # parseJSONList :: Value -> Parser [IssuesEventAction] # | |||||
NFData IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: IssuesEventAction -> () # | |||||
Data IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssuesEventAction -> c IssuesEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssuesEventAction # toConstr :: IssuesEventAction -> Constr # dataTypeOf :: IssuesEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssuesEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssuesEventAction) # gmapT :: (forall b. Data b => b -> b) -> IssuesEventAction -> IssuesEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssuesEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssuesEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> IssuesEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IssuesEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssuesEventAction -> m IssuesEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuesEventAction -> m IssuesEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuesEventAction -> m IssuesEventAction # | |||||
Generic IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: IssuesEventAction -> Rep IssuesEventAction x # to :: Rep IssuesEventAction x -> IssuesEventAction # | |||||
Show IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> IssuesEventAction -> ShowS # show :: IssuesEventAction -> String # showList :: [IssuesEventAction] -> ShowS # | |||||
Eq IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: IssuesEventAction -> IssuesEventAction -> Bool # (/=) :: IssuesEventAction -> IssuesEventAction -> Bool # | |||||
Ord IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: IssuesEventAction -> IssuesEventAction -> Ordering # (<) :: IssuesEventAction -> IssuesEventAction -> Bool # (<=) :: IssuesEventAction -> IssuesEventAction -> Bool # (>) :: IssuesEventAction -> IssuesEventAction -> Bool # (>=) :: IssuesEventAction -> IssuesEventAction -> Bool # max :: IssuesEventAction -> IssuesEventAction -> IssuesEventAction # min :: IssuesEventAction -> IssuesEventAction -> IssuesEventAction # | |||||
type Rep IssuesEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep IssuesEventAction = D1 ('MetaData "IssuesEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (((C1 ('MetaCons "IssuesAssignedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesUnassignedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssuesLabeledAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IssuesUnlabeledAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesOpenedAction" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "IssuesEditedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IssuesMilestonedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesDemilestonedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "IssuesClosedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IssuesReopenedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))))) |
data LabelEvent Source #
Triggered when a repository's label is created, edited, or deleted. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#labelevent.
Constructors
LabelEvent | |
Instances
FromJSON LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: LabelEvent -> () # | |||||
Data LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelEvent -> c LabelEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelEvent # toConstr :: LabelEvent -> Constr # dataTypeOf :: LabelEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LabelEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelEvent) # gmapT :: (forall b. Data b => b -> b) -> LabelEvent -> LabelEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> LabelEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelEvent -> m LabelEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelEvent -> m LabelEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelEvent -> m LabelEvent # | |||||
Generic LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> LabelEvent -> ShowS # show :: LabelEvent -> String # showList :: [LabelEvent] -> ShowS # | |||||
Eq LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: LabelEvent -> HookUser Source # | |||||
type Rep LabelEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep LabelEvent = D1 ('MetaData "LabelEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "LabelEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evLabelEventAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LabelEventAction) :*: S1 ('MetaSel ('Just "evLabelEventPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepositoryLabel)) :*: (S1 ('MetaSel ('Just "evLabelEventRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evLabelEventOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganization)) :*: S1 ('MetaSel ('Just "evLabelEventSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data LabelEventAction Source #
Constructors
LabelCreatedAction | Decodes from "created" |
LabelEditedAction | Decodes from "edited" |
LabelDeletedAction | Decodes from "deleted" |
LabelActionOther !Text | The result of decoding an unknown label event action type |
Instances
FromJSON LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser LabelEventAction # parseJSONList :: Value -> Parser [LabelEventAction] # | |||||
NFData LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: LabelEventAction -> () # | |||||
Data LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelEventAction -> c LabelEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelEventAction # toConstr :: LabelEventAction -> Constr # dataTypeOf :: LabelEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LabelEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelEventAction) # gmapT :: (forall b. Data b => b -> b) -> LabelEventAction -> LabelEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> LabelEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelEventAction -> m LabelEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelEventAction -> m LabelEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelEventAction -> m LabelEventAction # | |||||
Generic LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: LabelEventAction -> Rep LabelEventAction x # to :: Rep LabelEventAction x -> LabelEventAction # | |||||
Show LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> LabelEventAction -> ShowS # show :: LabelEventAction -> String # showList :: [LabelEventAction] -> ShowS # | |||||
Eq LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: LabelEventAction -> LabelEventAction -> Bool # (/=) :: LabelEventAction -> LabelEventAction -> Bool # | |||||
Ord LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: LabelEventAction -> LabelEventAction -> Ordering # (<) :: LabelEventAction -> LabelEventAction -> Bool # (<=) :: LabelEventAction -> LabelEventAction -> Bool # (>) :: LabelEventAction -> LabelEventAction -> Bool # (>=) :: LabelEventAction -> LabelEventAction -> Bool # max :: LabelEventAction -> LabelEventAction -> LabelEventAction # min :: LabelEventAction -> LabelEventAction -> LabelEventAction # | |||||
type Rep LabelEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep LabelEventAction = D1 ('MetaData "LabelEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "LabelCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LabelEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LabelDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LabelActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data MarketplacePurchaseEvent Source #
A GitHub Marketplace app receives information about changes to a user's plan from the Marketplace purchase event webhook. A Marketplace purchase event is triggered when a user purchases, cancels, or changes their payment plan. See https://docs.github.com/en/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/webhook-events-for-the-github-marketplace-api#github-marketplace-purchase-webhook-payload.
Constructors
MarketplacePurchaseEvent | |
Instances
FromJSON MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MarketplacePurchaseEvent # parseJSONList :: Value -> Parser [MarketplacePurchaseEvent] # | |||||
NFData MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MarketplacePurchaseEvent -> () # | |||||
Data MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MarketplacePurchaseEvent -> c MarketplacePurchaseEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MarketplacePurchaseEvent # toConstr :: MarketplacePurchaseEvent -> Constr # dataTypeOf :: MarketplacePurchaseEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MarketplacePurchaseEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MarketplacePurchaseEvent) # gmapT :: (forall b. Data b => b -> b) -> MarketplacePurchaseEvent -> MarketplacePurchaseEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MarketplacePurchaseEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MarketplacePurchaseEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> MarketplacePurchaseEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MarketplacePurchaseEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEvent -> m MarketplacePurchaseEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEvent -> m MarketplacePurchaseEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEvent -> m MarketplacePurchaseEvent # | |||||
Generic MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MarketplacePurchaseEvent -> Rep MarketplacePurchaseEvent x # to :: Rep MarketplacePurchaseEvent x -> MarketplacePurchaseEvent # | |||||
Show MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MarketplacePurchaseEvent -> ShowS # show :: MarketplacePurchaseEvent -> String # showList :: [MarketplacePurchaseEvent] -> ShowS # | |||||
Eq MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MarketplacePurchaseEvent -> MarketplacePurchaseEvent -> Bool # (/=) :: MarketplacePurchaseEvent -> MarketplacePurchaseEvent -> Bool # | |||||
EventHasSender MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: MarketplacePurchaseEvent -> HookUser Source # | |||||
type Rep MarketplacePurchaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MarketplacePurchaseEvent = D1 ('MetaData "MarketplacePurchaseEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "MarketplacePurchaseEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evMarketplacePurchaseAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MarketplacePurchaseEventAction) :*: S1 ('MetaSel ('Just "evMarketplacePurchaseEffectiveDate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "evMarketplacePurchaseSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser) :*: (S1 ('MetaSel ('Just "evMarketplacePurchaseNew") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookMarketplacePurchase) :*: S1 ('MetaSel ('Just "evMarketplacePurchasePrevious") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookMarketplacePurchase)))))) |
data MarketplacePurchaseEventAction Source #
Constructors
MarketplacePurchasePurchasedAction | Decodes from "purchased" |
MarketplacePurchaseCancelledAction | Decodes from "cancelled" |
MarketplacePurchasePendingChangeAction | Decodes from "pending_change" |
MarketplacePurchasePendingChangeCancelledAction | Decodes from "pending_change_cancelled" |
MarketplacePurchaseChangedAction | Decodes from "changed" |
MarketplacePurchaseActionOther !Text | The result of decoding an unknown marketplace purchase event action type |
Instances
FromJSON MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MarketplacePurchaseEventAction -> () # | |||||
Data MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MarketplacePurchaseEventAction -> c MarketplacePurchaseEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MarketplacePurchaseEventAction # toConstr :: MarketplacePurchaseEventAction -> Constr # dataTypeOf :: MarketplacePurchaseEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MarketplacePurchaseEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MarketplacePurchaseEventAction) # gmapT :: (forall b. Data b => b -> b) -> MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MarketplacePurchaseEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MarketplacePurchaseEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> MarketplacePurchaseEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MarketplacePurchaseEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEventAction -> m MarketplacePurchaseEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEventAction -> m MarketplacePurchaseEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MarketplacePurchaseEventAction -> m MarketplacePurchaseEventAction # | |||||
Generic MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MarketplacePurchaseEventAction -> ShowS # show :: MarketplacePurchaseEventAction -> String # showList :: [MarketplacePurchaseEventAction] -> ShowS # | |||||
Eq MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
Ord MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> Ordering # (<) :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> Bool # (<=) :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> Bool # (>) :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> Bool # (>=) :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> Bool # max :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction # min :: MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction -> MarketplacePurchaseEventAction # | |||||
type Rep MarketplacePurchaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MarketplacePurchaseEventAction = D1 ('MetaData "MarketplacePurchaseEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "MarketplacePurchasePurchasedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MarketplacePurchaseCancelledAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarketplacePurchasePendingChangeAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MarketplacePurchasePendingChangeCancelledAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MarketplacePurchaseChangedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarketplacePurchaseActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data MemberEvent Source #
Triggered when a user is added or removed as a collaborator to a repository, or has their permissions changed. See https://developer.github.com/v3/activity/events/types/#memberevent.
Constructors
MemberEvent | |
Fields |
Instances
FromJSON MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MemberEvent -> () # | |||||
Data MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemberEvent -> c MemberEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemberEvent # toConstr :: MemberEvent -> Constr # dataTypeOf :: MemberEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemberEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemberEvent) # gmapT :: (forall b. Data b => b -> b) -> MemberEvent -> MemberEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemberEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemberEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> MemberEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MemberEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemberEvent -> m MemberEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberEvent -> m MemberEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberEvent -> m MemberEvent # | |||||
Generic MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MemberEvent -> ShowS # show :: MemberEvent -> String # showList :: [MemberEvent] -> ShowS # | |||||
Eq MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: MemberEvent -> HookUser Source # | |||||
type Rep MemberEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MemberEvent = D1 ('MetaData "MemberEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "MemberEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evMemberAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MemberEventAction) :*: S1 ('MetaSel ('Just "evMemberUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)) :*: (S1 ('MetaSel ('Just "evMemberRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evMemberSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data MemberEventAction Source #
Constructors
MemberAddedAction | Decodes from "added" |
MemberEditedAction | Decodes from "edited" |
MemberDeletedAction | Decodes from "deleted" |
MemberActionOther !Text | The result of decoding an unknown label event action type |
Instances
FromJSON MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MemberEventAction # parseJSONList :: Value -> Parser [MemberEventAction] # | |||||
NFData MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MemberEventAction -> () # | |||||
Data MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemberEventAction -> c MemberEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemberEventAction # toConstr :: MemberEventAction -> Constr # dataTypeOf :: MemberEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemberEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemberEventAction) # gmapT :: (forall b. Data b => b -> b) -> MemberEventAction -> MemberEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemberEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemberEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> MemberEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MemberEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemberEventAction -> m MemberEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberEventAction -> m MemberEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemberEventAction -> m MemberEventAction # | |||||
Generic MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MemberEventAction -> Rep MemberEventAction x # to :: Rep MemberEventAction x -> MemberEventAction # | |||||
Show MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MemberEventAction -> ShowS # show :: MemberEventAction -> String # showList :: [MemberEventAction] -> ShowS # | |||||
Eq MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MemberEventAction -> MemberEventAction -> Bool # (/=) :: MemberEventAction -> MemberEventAction -> Bool # | |||||
Ord MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: MemberEventAction -> MemberEventAction -> Ordering # (<) :: MemberEventAction -> MemberEventAction -> Bool # (<=) :: MemberEventAction -> MemberEventAction -> Bool # (>) :: MemberEventAction -> MemberEventAction -> Bool # (>=) :: MemberEventAction -> MemberEventAction -> Bool # max :: MemberEventAction -> MemberEventAction -> MemberEventAction # min :: MemberEventAction -> MemberEventAction -> MemberEventAction # | |||||
type Rep MemberEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MemberEventAction = D1 ('MetaData "MemberEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "MemberAddedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MemberEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MemberDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MemberActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data MembershipEvent Source #
Triggered when a user is added or removed from a team. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#membershipevent.
Constructors
MembershipEvent | |
Fields
|
Instances
FromJSON MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MembershipEvent # parseJSONList :: Value -> Parser [MembershipEvent] # | |||||
NFData MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MembershipEvent -> () # | |||||
Data MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MembershipEvent -> c MembershipEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MembershipEvent # toConstr :: MembershipEvent -> Constr # dataTypeOf :: MembershipEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MembershipEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MembershipEvent) # gmapT :: (forall b. Data b => b -> b) -> MembershipEvent -> MembershipEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MembershipEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MembershipEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> MembershipEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MembershipEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MembershipEvent -> m MembershipEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MembershipEvent -> m MembershipEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MembershipEvent -> m MembershipEvent # | |||||
Generic MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MembershipEvent -> Rep MembershipEvent x # to :: Rep MembershipEvent x -> MembershipEvent # | |||||
Show MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MembershipEvent -> ShowS # show :: MembershipEvent -> String # showList :: [MembershipEvent] -> ShowS # | |||||
Eq MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MembershipEvent -> MembershipEvent -> Bool # (/=) :: MembershipEvent -> MembershipEvent -> Bool # | |||||
EventHasSender MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep MembershipEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MembershipEvent = D1 ('MetaData "MembershipEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "MembershipEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evMembershipAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MembershipEventAction) :*: (S1 ('MetaSel ('Just "evMembershipScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evMembershipUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))) :*: (S1 ('MetaSel ('Just "evMembershipTeam") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookTeam) :*: (S1 ('MetaSel ('Just "evMembershipOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evMembershipSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data MembershipEventAction Source #
Constructors
MembershipAddedAction | Decodes from "added" |
MembershipRemovedAction | Decodes from "removed" |
MembershipActionOther !Text | The result of decoding an unknown label event action type |
Instances
FromJSON MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MembershipEventAction # parseJSONList :: Value -> Parser [MembershipEventAction] # | |||||
NFData MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MembershipEventAction -> () # | |||||
Data MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MembershipEventAction -> c MembershipEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MembershipEventAction # toConstr :: MembershipEventAction -> Constr # dataTypeOf :: MembershipEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MembershipEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MembershipEventAction) # gmapT :: (forall b. Data b => b -> b) -> MembershipEventAction -> MembershipEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MembershipEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MembershipEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> MembershipEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MembershipEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MembershipEventAction -> m MembershipEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MembershipEventAction -> m MembershipEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MembershipEventAction -> m MembershipEventAction # | |||||
Generic MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MembershipEventAction -> Rep MembershipEventAction x # to :: Rep MembershipEventAction x -> MembershipEventAction # | |||||
Show MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MembershipEventAction -> ShowS # show :: MembershipEventAction -> String # showList :: [MembershipEventAction] -> ShowS # | |||||
Eq MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MembershipEventAction -> MembershipEventAction -> Bool # (/=) :: MembershipEventAction -> MembershipEventAction -> Bool # | |||||
Ord MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: MembershipEventAction -> MembershipEventAction -> Ordering # (<) :: MembershipEventAction -> MembershipEventAction -> Bool # (<=) :: MembershipEventAction -> MembershipEventAction -> Bool # (>) :: MembershipEventAction -> MembershipEventAction -> Bool # (>=) :: MembershipEventAction -> MembershipEventAction -> Bool # max :: MembershipEventAction -> MembershipEventAction -> MembershipEventAction # min :: MembershipEventAction -> MembershipEventAction -> MembershipEventAction # | |||||
type Rep MembershipEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MembershipEventAction = D1 ('MetaData "MembershipEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "MembershipAddedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MembershipRemovedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MembershipActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data MilestoneEvent Source #
Triggered when a milestone is created, closed, opened, edited, or deleted. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#milestoneevent.
Constructors
MilestoneEvent | |
Instances
FromJSON MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MilestoneEvent # parseJSONList :: Value -> Parser [MilestoneEvent] # | |||||
NFData MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MilestoneEvent -> () # | |||||
Data MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MilestoneEvent -> c MilestoneEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MilestoneEvent # toConstr :: MilestoneEvent -> Constr # dataTypeOf :: MilestoneEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MilestoneEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MilestoneEvent) # gmapT :: (forall b. Data b => b -> b) -> MilestoneEvent -> MilestoneEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MilestoneEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MilestoneEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> MilestoneEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MilestoneEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MilestoneEvent -> m MilestoneEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MilestoneEvent -> m MilestoneEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MilestoneEvent -> m MilestoneEvent # | |||||
Generic MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MilestoneEvent -> Rep MilestoneEvent x # to :: Rep MilestoneEvent x -> MilestoneEvent # | |||||
Show MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MilestoneEvent -> ShowS # show :: MilestoneEvent -> String # showList :: [MilestoneEvent] -> ShowS # | |||||
Eq MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MilestoneEvent -> MilestoneEvent -> Bool # (/=) :: MilestoneEvent -> MilestoneEvent -> Bool # | |||||
EventHasRepo MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep MilestoneEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MilestoneEvent = D1 ('MetaData "MilestoneEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "MilestoneEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evMilestoneAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MilestoneEventAction) :*: S1 ('MetaSel ('Just "evMilestoenPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookMilestone)) :*: (S1 ('MetaSel ('Just "evMilestoneRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evMilestoneOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evMilestoneSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data MilestoneEventAction Source #
Constructors
MilestoneCreatedAction | Decodes from "created" |
MilestoneClosedAction | Decodes from "closed" |
MilestoneOpenedAction | Decodes from "opened" |
MilestoneEditedAction | Decodes from "edited" |
MilestoneDeletedAction | Decodes from "deleted" |
MilestoneActionOther !Text | The result of decoding an unknown label event action type |
Instances
FromJSON MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser MilestoneEventAction # parseJSONList :: Value -> Parser [MilestoneEventAction] # | |||||
NFData MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: MilestoneEventAction -> () # | |||||
Data MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MilestoneEventAction -> c MilestoneEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MilestoneEventAction # toConstr :: MilestoneEventAction -> Constr # dataTypeOf :: MilestoneEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MilestoneEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MilestoneEventAction) # gmapT :: (forall b. Data b => b -> b) -> MilestoneEventAction -> MilestoneEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MilestoneEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MilestoneEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> MilestoneEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MilestoneEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MilestoneEventAction -> m MilestoneEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MilestoneEventAction -> m MilestoneEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MilestoneEventAction -> m MilestoneEventAction # | |||||
Generic MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: MilestoneEventAction -> Rep MilestoneEventAction x # to :: Rep MilestoneEventAction x -> MilestoneEventAction # | |||||
Show MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> MilestoneEventAction -> ShowS # show :: MilestoneEventAction -> String # showList :: [MilestoneEventAction] -> ShowS # | |||||
Eq MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: MilestoneEventAction -> MilestoneEventAction -> Bool # (/=) :: MilestoneEventAction -> MilestoneEventAction -> Bool # | |||||
Ord MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: MilestoneEventAction -> MilestoneEventAction -> Ordering # (<) :: MilestoneEventAction -> MilestoneEventAction -> Bool # (<=) :: MilestoneEventAction -> MilestoneEventAction -> Bool # (>) :: MilestoneEventAction -> MilestoneEventAction -> Bool # (>=) :: MilestoneEventAction -> MilestoneEventAction -> Bool # max :: MilestoneEventAction -> MilestoneEventAction -> MilestoneEventAction # min :: MilestoneEventAction -> MilestoneEventAction -> MilestoneEventAction # | |||||
type Rep MilestoneEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep MilestoneEventAction = D1 ('MetaData "MilestoneEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "MilestoneCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MilestoneClosedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MilestoneOpenedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MilestoneEditedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MilestoneDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MilestoneActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data OrganizationEvent Source #
Triggered when a user is added, removed, or invited to an Organization. Events of this type are not visible in timelines. These events are only used to trigger organization hooks. See https://developer.github.com/v3/activity/events/types/#organizationevent.
Constructors
OrganizationEvent | |
Instances
FromJSON OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser OrganizationEvent # parseJSONList :: Value -> Parser [OrganizationEvent] # | |||||
NFData OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: OrganizationEvent -> () # | |||||
Data OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationEvent -> c OrganizationEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationEvent # toConstr :: OrganizationEvent -> Constr # dataTypeOf :: OrganizationEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationEvent) # gmapT :: (forall b. Data b => b -> b) -> OrganizationEvent -> OrganizationEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> OrganizationEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationEvent -> m OrganizationEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationEvent -> m OrganizationEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationEvent -> m OrganizationEvent # | |||||
Generic OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: OrganizationEvent -> Rep OrganizationEvent x # to :: Rep OrganizationEvent x -> OrganizationEvent # | |||||
Show OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> OrganizationEvent -> ShowS # show :: OrganizationEvent -> String # showList :: [OrganizationEvent] -> ShowS # | |||||
Eq OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: OrganizationEvent -> OrganizationEvent -> Bool # (/=) :: OrganizationEvent -> OrganizationEvent -> Bool # | |||||
EventHasSender OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep OrganizationEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep OrganizationEvent = D1 ('MetaData "OrganizationEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "OrganizationEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evOrganizationAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OrganizationEventAction) :*: S1 ('MetaSel ('Just "evOrganizationInvitation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganizationInvitation))) :*: (S1 ('MetaSel ('Just "evOrganizationMembership") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganizationMembership)) :*: (S1 ('MetaSel ('Just "evOrganizationOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evOrganizationSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data OrganizationEventAction Source #
Constructors
OrgMemberAddedAction | Decodes from "member_added" |
OrgMemberRemovedAction | Decodes from "member_removed" |
OrgMemberInvitedAction | Decodes from "member_invited" |
OrgActionOther !Text | The result of decoding an unknown label event action type |
Instances
FromJSON OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser OrganizationEventAction # parseJSONList :: Value -> Parser [OrganizationEventAction] # | |||||
NFData OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: OrganizationEventAction -> () # | |||||
Data OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationEventAction -> c OrganizationEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationEventAction # toConstr :: OrganizationEventAction -> Constr # dataTypeOf :: OrganizationEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationEventAction) # gmapT :: (forall b. Data b => b -> b) -> OrganizationEventAction -> OrganizationEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> OrganizationEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationEventAction -> m OrganizationEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationEventAction -> m OrganizationEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationEventAction -> m OrganizationEventAction # | |||||
Generic OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: OrganizationEventAction -> Rep OrganizationEventAction x # to :: Rep OrganizationEventAction x -> OrganizationEventAction # | |||||
Show OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> OrganizationEventAction -> ShowS # show :: OrganizationEventAction -> String # showList :: [OrganizationEventAction] -> ShowS # | |||||
Eq OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: OrganizationEventAction -> OrganizationEventAction -> Bool # (/=) :: OrganizationEventAction -> OrganizationEventAction -> Bool # | |||||
Ord OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: OrganizationEventAction -> OrganizationEventAction -> Ordering # (<) :: OrganizationEventAction -> OrganizationEventAction -> Bool # (<=) :: OrganizationEventAction -> OrganizationEventAction -> Bool # (>) :: OrganizationEventAction -> OrganizationEventAction -> Bool # (>=) :: OrganizationEventAction -> OrganizationEventAction -> Bool # max :: OrganizationEventAction -> OrganizationEventAction -> OrganizationEventAction # min :: OrganizationEventAction -> OrganizationEventAction -> OrganizationEventAction # | |||||
type Rep OrganizationEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep OrganizationEventAction = D1 ('MetaData "OrganizationEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "OrgMemberAddedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrgMemberRemovedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OrgMemberInvitedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrgActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data OrgBlockEvent Source #
Triggered when an organization blocks or unblocks a user. See https://developer.github.com/v3/activity/events/types/#orgblockevent.
Constructors
OrgBlockEvent | |
Fields |
Instances
FromJSON OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser OrgBlockEvent # parseJSONList :: Value -> Parser [OrgBlockEvent] # | |||||
NFData OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: OrgBlockEvent -> () # | |||||
Data OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrgBlockEvent -> c OrgBlockEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrgBlockEvent # toConstr :: OrgBlockEvent -> Constr # dataTypeOf :: OrgBlockEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrgBlockEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrgBlockEvent) # gmapT :: (forall b. Data b => b -> b) -> OrgBlockEvent -> OrgBlockEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrgBlockEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrgBlockEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> OrgBlockEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrgBlockEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrgBlockEvent -> m OrgBlockEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrgBlockEvent -> m OrgBlockEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrgBlockEvent -> m OrgBlockEvent # | |||||
Generic OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> OrgBlockEvent -> ShowS # show :: OrgBlockEvent -> String # showList :: [OrgBlockEvent] -> ShowS # | |||||
Eq OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: OrgBlockEvent -> OrgBlockEvent -> Bool # (/=) :: OrgBlockEvent -> OrgBlockEvent -> Bool # | |||||
EventHasSender OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep OrgBlockEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep OrgBlockEvent = D1 ('MetaData "OrgBlockEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "OrgBlockEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evOrgBlockAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OrgBlockEventAction) :*: S1 ('MetaSel ('Just "evOrgBlockUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)) :*: (S1 ('MetaSel ('Just "evOrgBlockOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evOrgBlockSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data OrgBlockEventAction Source #
Constructors
OrgBlockBlockedAction | Decodes from "blocked" |
OrgBlockUnblockedAction | Decodes from "unblocked" |
OrgBlockActionOther !Text | The result of decoding an unknown org block event action type |
Instances
FromJSON OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser OrgBlockEventAction # parseJSONList :: Value -> Parser [OrgBlockEventAction] # | |||||
NFData OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: OrgBlockEventAction -> () # | |||||
Data OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrgBlockEventAction -> c OrgBlockEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrgBlockEventAction # toConstr :: OrgBlockEventAction -> Constr # dataTypeOf :: OrgBlockEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrgBlockEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrgBlockEventAction) # gmapT :: (forall b. Data b => b -> b) -> OrgBlockEventAction -> OrgBlockEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrgBlockEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrgBlockEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> OrgBlockEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrgBlockEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrgBlockEventAction -> m OrgBlockEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrgBlockEventAction -> m OrgBlockEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrgBlockEventAction -> m OrgBlockEventAction # | |||||
Generic OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: OrgBlockEventAction -> Rep OrgBlockEventAction x # to :: Rep OrgBlockEventAction x -> OrgBlockEventAction # | |||||
Show OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> OrgBlockEventAction -> ShowS # show :: OrgBlockEventAction -> String # showList :: [OrgBlockEventAction] -> ShowS # | |||||
Eq OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # (/=) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # | |||||
Ord OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: OrgBlockEventAction -> OrgBlockEventAction -> Ordering # (<) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # (<=) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # (>) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # (>=) :: OrgBlockEventAction -> OrgBlockEventAction -> Bool # max :: OrgBlockEventAction -> OrgBlockEventAction -> OrgBlockEventAction # min :: OrgBlockEventAction -> OrgBlockEventAction -> OrgBlockEventAction # | |||||
type Rep OrgBlockEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep OrgBlockEventAction = D1 ('MetaData "OrgBlockEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "OrgBlockBlockedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrgBlockUnblockedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OrgBlockActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data PageBuildEvent Source #
Represents an attempted build of a GitHub Pages site, whether successful or not. Triggered on push to a GitHub Pages enabled branch (gh-pages for project pages, master for user and organization pages). Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#pagebuildevent.
Constructors
PageBuildEvent | |
Fields |
Instances
FromJSON PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser PageBuildEvent # parseJSONList :: Value -> Parser [PageBuildEvent] # | |||||
NFData PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PageBuildEvent -> () # | |||||
Data PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PageBuildEvent -> c PageBuildEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PageBuildEvent # toConstr :: PageBuildEvent -> Constr # dataTypeOf :: PageBuildEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PageBuildEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PageBuildEvent) # gmapT :: (forall b. Data b => b -> b) -> PageBuildEvent -> PageBuildEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PageBuildEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PageBuildEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PageBuildEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PageBuildEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PageBuildEvent -> m PageBuildEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PageBuildEvent -> m PageBuildEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PageBuildEvent -> m PageBuildEvent # | |||||
Generic PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: PageBuildEvent -> Rep PageBuildEvent x # to :: Rep PageBuildEvent x -> PageBuildEvent # | |||||
Show PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PageBuildEvent -> ShowS # show :: PageBuildEvent -> String # showList :: [PageBuildEvent] -> ShowS # | |||||
Eq PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: PageBuildEvent -> PageBuildEvent -> Bool # (/=) :: PageBuildEvent -> PageBuildEvent -> Bool # | |||||
EventHasRepo PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep PageBuildEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PageBuildEvent = D1 ('MetaData "PageBuildEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PageBuildEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evPageBuildId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "evPageBuildResult") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPageBuildResult)) :*: (S1 ('MetaSel ('Just "evPageBuildRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evPageBuildSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data ProjectCardEvent Source #
Triggered when a project card is created, updated, moved, converted to an issue, or deleted. See https://developer.github.com/v3/activity/events/types/#projectcardevent.
Constructors
ProjectCardEvent | |
Instances
FromJSON ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ProjectCardEvent # parseJSONList :: Value -> Parser [ProjectCardEvent] # | |||||
NFData ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectCardEvent -> () # | |||||
Data ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectCardEvent -> c ProjectCardEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectCardEvent # toConstr :: ProjectCardEvent -> Constr # dataTypeOf :: ProjectCardEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectCardEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectCardEvent) # gmapT :: (forall b. Data b => b -> b) -> ProjectCardEvent -> ProjectCardEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectCardEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectCardEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectCardEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectCardEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectCardEvent -> m ProjectCardEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectCardEvent -> m ProjectCardEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectCardEvent -> m ProjectCardEvent # | |||||
Generic ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ProjectCardEvent -> Rep ProjectCardEvent x # to :: Rep ProjectCardEvent x -> ProjectCardEvent # | |||||
Show ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectCardEvent -> ShowS # show :: ProjectCardEvent -> String # showList :: [ProjectCardEvent] -> ShowS # | |||||
Eq ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ProjectCardEvent -> ProjectCardEvent -> Bool # (/=) :: ProjectCardEvent -> ProjectCardEvent -> Bool # | |||||
EventHasRepo ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep ProjectCardEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectCardEvent = D1 ('MetaData "ProjectCardEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ProjectCardEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evProjectCardAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectCardEventAction) :*: S1 ('MetaSel ('Just "evProjectCardPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookProjectCard)) :*: (S1 ('MetaSel ('Just "evProjectCardRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evProjectCardOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evProjectCardSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data ProjectCardEventAction Source #
Constructors
ProjectCardCreatedAction | Decodes from "created" |
ProjectCardEditedAction | Decodes from "edited" |
ProjectCardConvertedAction | Decodes from "converted" |
ProjectCardMovedAction | Decodes from "moved" |
ProjectCardDeletedAction | Decodes from "deleted" |
ProjectCardActionOther !Text | The result of decoding an unknown project card event action type |
Instances
FromJSON ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ProjectCardEventAction # parseJSONList :: Value -> Parser [ProjectCardEventAction] # | |||||
NFData ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectCardEventAction -> () # | |||||
Data ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectCardEventAction -> c ProjectCardEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectCardEventAction # toConstr :: ProjectCardEventAction -> Constr # dataTypeOf :: ProjectCardEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectCardEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectCardEventAction) # gmapT :: (forall b. Data b => b -> b) -> ProjectCardEventAction -> ProjectCardEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectCardEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectCardEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectCardEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectCardEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectCardEventAction -> m ProjectCardEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectCardEventAction -> m ProjectCardEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectCardEventAction -> m ProjectCardEventAction # | |||||
Generic ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ProjectCardEventAction -> Rep ProjectCardEventAction x # to :: Rep ProjectCardEventAction x -> ProjectCardEventAction # | |||||
Show ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectCardEventAction -> ShowS # show :: ProjectCardEventAction -> String # showList :: [ProjectCardEventAction] -> ShowS # | |||||
Eq ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # (/=) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # | |||||
Ord ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: ProjectCardEventAction -> ProjectCardEventAction -> Ordering # (<) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # (<=) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # (>) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # (>=) :: ProjectCardEventAction -> ProjectCardEventAction -> Bool # max :: ProjectCardEventAction -> ProjectCardEventAction -> ProjectCardEventAction # min :: ProjectCardEventAction -> ProjectCardEventAction -> ProjectCardEventAction # | |||||
type Rep ProjectCardEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectCardEventAction = D1 ('MetaData "ProjectCardEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "ProjectCardCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProjectCardEditedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectCardConvertedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ProjectCardMovedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProjectCardDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectCardActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data ProjectColumnEvent Source #
Triggered when a project column is created, updated, moved, or deleted. See https://developer.github.com/v3/activity/events/types/#projectcolumnevent.
Constructors
ProjectColumnEvent | |
Instances
FromJSON ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ProjectColumnEvent # parseJSONList :: Value -> Parser [ProjectColumnEvent] # | |||||
NFData ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectColumnEvent -> () # | |||||
Data ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectColumnEvent -> c ProjectColumnEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectColumnEvent # toConstr :: ProjectColumnEvent -> Constr # dataTypeOf :: ProjectColumnEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectColumnEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectColumnEvent) # gmapT :: (forall b. Data b => b -> b) -> ProjectColumnEvent -> ProjectColumnEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectColumnEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectColumnEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectColumnEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectColumnEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectColumnEvent -> m ProjectColumnEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectColumnEvent -> m ProjectColumnEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectColumnEvent -> m ProjectColumnEvent # | |||||
Generic ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ProjectColumnEvent -> Rep ProjectColumnEvent x # to :: Rep ProjectColumnEvent x -> ProjectColumnEvent # | |||||
Show ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectColumnEvent -> ShowS # show :: ProjectColumnEvent -> String # showList :: [ProjectColumnEvent] -> ShowS # | |||||
Eq ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ProjectColumnEvent -> ProjectColumnEvent -> Bool # (/=) :: ProjectColumnEvent -> ProjectColumnEvent -> Bool # | |||||
EventHasRepo ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: ProjectColumnEvent -> HookRepository Source # | |||||
EventHasSender ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep ProjectColumnEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectColumnEvent = D1 ('MetaData "ProjectColumnEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ProjectColumnEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evProjectColumnAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectColumnEventAction) :*: S1 ('MetaSel ('Just "evProjectColumnPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookProjectColumn)) :*: (S1 ('MetaSel ('Just "evProjectColumnRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evProjectColumnOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evProjectColumnSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data ProjectColumnEventAction Source #
Constructors
ProjectColumnCreatedAction | Decodes from "created" |
ProjectColumnEditedAction | Decodes from "edited" |
ProjectColumnMovedAction | Decodes from "moved" |
ProjectColumnDeletedAction | Decodes from "deleted" |
ProjectColumnActionOther !Text | The result of decoding an unknown project card event action type |
Instances
FromJSON ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ProjectColumnEventAction # parseJSONList :: Value -> Parser [ProjectColumnEventAction] # | |||||
NFData ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectColumnEventAction -> () # | |||||
Data ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectColumnEventAction -> c ProjectColumnEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectColumnEventAction # toConstr :: ProjectColumnEventAction -> Constr # dataTypeOf :: ProjectColumnEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectColumnEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectColumnEventAction) # gmapT :: (forall b. Data b => b -> b) -> ProjectColumnEventAction -> ProjectColumnEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectColumnEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectColumnEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectColumnEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectColumnEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectColumnEventAction -> m ProjectColumnEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectColumnEventAction -> m ProjectColumnEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectColumnEventAction -> m ProjectColumnEventAction # | |||||
Generic ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ProjectColumnEventAction -> Rep ProjectColumnEventAction x # to :: Rep ProjectColumnEventAction x -> ProjectColumnEventAction # | |||||
Show ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectColumnEventAction -> ShowS # show :: ProjectColumnEventAction -> String # showList :: [ProjectColumnEventAction] -> ShowS # | |||||
Eq ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # (/=) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # | |||||
Ord ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: ProjectColumnEventAction -> ProjectColumnEventAction -> Ordering # (<) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # (<=) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # (>) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # (>=) :: ProjectColumnEventAction -> ProjectColumnEventAction -> Bool # max :: ProjectColumnEventAction -> ProjectColumnEventAction -> ProjectColumnEventAction # min :: ProjectColumnEventAction -> ProjectColumnEventAction -> ProjectColumnEventAction # | |||||
type Rep ProjectColumnEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectColumnEventAction = D1 ('MetaData "ProjectColumnEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "ProjectColumnCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectColumnEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ProjectColumnMovedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProjectColumnDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectColumnActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data ProjectEvent Source #
Triggered when a project is created, updated, closed, reopened, or deleted. See https://developer.github.com/v3/activity/events/types/#projectevent.
Constructors
ProjectEvent | |
Instances
FromJSON ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectEvent -> () # | |||||
Data ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectEvent -> c ProjectEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectEvent # toConstr :: ProjectEvent -> Constr # dataTypeOf :: ProjectEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectEvent) # gmapT :: (forall b. Data b => b -> b) -> ProjectEvent -> ProjectEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectEvent -> m ProjectEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectEvent -> m ProjectEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectEvent -> m ProjectEvent # | |||||
Generic ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectEvent -> ShowS # show :: ProjectEvent -> String # showList :: [ProjectEvent] -> ShowS # | |||||
Eq ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: ProjectEvent -> HookUser Source # | |||||
type Rep ProjectEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectEvent = D1 ('MetaData "ProjectEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ProjectEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evProjectEventAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectEventAction) :*: S1 ('MetaSel ('Just "evProjectPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookProject)) :*: (S1 ('MetaSel ('Just "evProjectRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evProjectOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evProjectSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data ProjectEventAction Source #
Constructors
ProjectCreatedAction | Decodes from "created" |
ProjectEditedAction | Decodes from "edited" |
ProjectClosedAction | Decodes from "closed" |
ProjectReopenedAction | Decodes from "reopened" |
ProjectDeletedAction | Decodes from "deleted" |
ProjectActionOther !Text | The result of decoding an unknown project event action type |
Instances
FromJSON ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ProjectEventAction # parseJSONList :: Value -> Parser [ProjectEventAction] # | |||||
NFData ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ProjectEventAction -> () # | |||||
Data ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectEventAction -> c ProjectEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectEventAction # toConstr :: ProjectEventAction -> Constr # dataTypeOf :: ProjectEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectEventAction) # gmapT :: (forall b. Data b => b -> b) -> ProjectEventAction -> ProjectEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> ProjectEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectEventAction -> m ProjectEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectEventAction -> m ProjectEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectEventAction -> m ProjectEventAction # | |||||
Generic ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ProjectEventAction -> Rep ProjectEventAction x # to :: Rep ProjectEventAction x -> ProjectEventAction # | |||||
Show ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ProjectEventAction -> ShowS # show :: ProjectEventAction -> String # showList :: [ProjectEventAction] -> ShowS # | |||||
Eq ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ProjectEventAction -> ProjectEventAction -> Bool # (/=) :: ProjectEventAction -> ProjectEventAction -> Bool # | |||||
Ord ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: ProjectEventAction -> ProjectEventAction -> Ordering # (<) :: ProjectEventAction -> ProjectEventAction -> Bool # (<=) :: ProjectEventAction -> ProjectEventAction -> Bool # (>) :: ProjectEventAction -> ProjectEventAction -> Bool # (>=) :: ProjectEventAction -> ProjectEventAction -> Bool # max :: ProjectEventAction -> ProjectEventAction -> ProjectEventAction # min :: ProjectEventAction -> ProjectEventAction -> ProjectEventAction # | |||||
type Rep ProjectEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ProjectEventAction = D1 ('MetaData "ProjectEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "ProjectCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProjectEditedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectClosedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ProjectReopenedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProjectDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProjectActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data PublicEvent Source #
Triggered when a private repository is open sourced. Without a doubt: the best GitHub event. See https://developer.github.com/v3/activity/events/types/#publicevent.
Constructors
PublicEvent | |
Fields |
Instances
FromJSON PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PublicEvent -> () # | |||||
Data PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PublicEvent -> c PublicEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PublicEvent # toConstr :: PublicEvent -> Constr # dataTypeOf :: PublicEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PublicEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PublicEvent) # gmapT :: (forall b. Data b => b -> b) -> PublicEvent -> PublicEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PublicEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PublicEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PublicEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PublicEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PublicEvent -> m PublicEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicEvent -> m PublicEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicEvent -> m PublicEvent # | |||||
Generic PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PublicEvent -> ShowS # show :: PublicEvent -> String # showList :: [PublicEvent] -> ShowS # | |||||
Eq PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: PublicEvent -> HookUser Source # | |||||
type Rep PublicEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PublicEvent = D1 ('MetaData "PublicEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PublicEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "evPublicEventRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evPublicEventSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))) |
data PullRequestEvent Source #
Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, or synchronized. Also triggered when a pull request review is requested, or when a review request is removed. See https://developer.github.com/v3/activity/events/types/#pullrequestevent.
Constructors
PullRequestEvent | |
Fields |
Instances
FromJSON PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser PullRequestEvent # parseJSONList :: Value -> Parser [PullRequestEvent] # | |||||
NFData PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestEvent -> () # | |||||
Data PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestEvent -> c PullRequestEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestEvent # toConstr :: PullRequestEvent -> Constr # dataTypeOf :: PullRequestEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestEvent) # gmapT :: (forall b. Data b => b -> b) -> PullRequestEvent -> PullRequestEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestEvent -> m PullRequestEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestEvent -> m PullRequestEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestEvent -> m PullRequestEvent # | |||||
Generic PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: PullRequestEvent -> Rep PullRequestEvent x # to :: Rep PullRequestEvent x -> PullRequestEvent # | |||||
Show PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestEvent -> ShowS # show :: PullRequestEvent -> String # showList :: [PullRequestEvent] -> ShowS # | |||||
Eq PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: PullRequestEvent -> PullRequestEvent -> Bool # (/=) :: PullRequestEvent -> PullRequestEvent -> Bool # | |||||
EventHasRepo PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep PullRequestEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestEvent = D1 ('MetaData "PullRequestEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PullRequestEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evPullReqAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PullRequestEventAction) :*: (S1 ('MetaSel ('Just "evPullReqNumber") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "evPullReqPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPullRequest))) :*: (S1 ('MetaSel ('Just "evPullReqRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: (S1 ('MetaSel ('Just "evPullReqSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser) :*: S1 ('MetaSel ('Just "evPullReqInstallationId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)))))) |
data PullRequestEventAction Source #
Constructors
PullRequestAssignedAction | Decodes from "assigned" |
PullRequestUnassignedAction | Decodes from "unassigned" |
PullRequestReviewRequestedAction | Decodes from "review_requsted" |
PullRequestReviewRequestRemovedAction | Decodes from "review_request_removed" |
PullRequestLabeledAction | Decodes from "labeled" |
PullRequestUnlabeledAction | Decodes from "unlabeled" |
PullRequestOpenedAction | Decodes from "opened" |
PullRequestEditedAction | Decodes from "edited" |
PullRequestClosedAction | Decodes from "closed" |
PullRequestReopenedAction | Decodes from "reopened" |
PullRequestActionOther !Text | The result of decoding an unknown pull request event action type |
Instances
FromJSON PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser PullRequestEventAction # parseJSONList :: Value -> Parser [PullRequestEventAction] # | |||||
NFData PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestEventAction -> () # | |||||
Data PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestEventAction -> c PullRequestEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestEventAction # toConstr :: PullRequestEventAction -> Constr # dataTypeOf :: PullRequestEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestEventAction) # gmapT :: (forall b. Data b => b -> b) -> PullRequestEventAction -> PullRequestEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestEventAction -> m PullRequestEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestEventAction -> m PullRequestEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestEventAction -> m PullRequestEventAction # | |||||
Generic PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: PullRequestEventAction -> Rep PullRequestEventAction x # to :: Rep PullRequestEventAction x -> PullRequestEventAction # | |||||
Show PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestEventAction -> ShowS # show :: PullRequestEventAction -> String # showList :: [PullRequestEventAction] -> ShowS # | |||||
Eq PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: PullRequestEventAction -> PullRequestEventAction -> Bool # (/=) :: PullRequestEventAction -> PullRequestEventAction -> Bool # | |||||
Ord PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: PullRequestEventAction -> PullRequestEventAction -> Ordering # (<) :: PullRequestEventAction -> PullRequestEventAction -> Bool # (<=) :: PullRequestEventAction -> PullRequestEventAction -> Bool # (>) :: PullRequestEventAction -> PullRequestEventAction -> Bool # (>=) :: PullRequestEventAction -> PullRequestEventAction -> Bool # max :: PullRequestEventAction -> PullRequestEventAction -> PullRequestEventAction # min :: PullRequestEventAction -> PullRequestEventAction -> PullRequestEventAction # | |||||
type Rep PullRequestEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestEventAction = D1 ('MetaData "PullRequestEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (((C1 ('MetaCons "PullRequestAssignedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestUnassignedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestReviewRequestedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReviewRequestRemovedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestLabeledAction" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PullRequestUnlabeledAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestOpenedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestEditedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "PullRequestClosedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReopenedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))))) |
data PullRequestReviewEvent Source #
Triggered when a pull request review is submitted into a non-pending state, the body is edited, or the review is dismissed. See https://developer.github.com/v3/activity/events/types/#pullrequestreviewevent.
Constructors
PullRequestReviewEvent | |
Instances
FromJSON PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser PullRequestReviewEvent # parseJSONList :: Value -> Parser [PullRequestReviewEvent] # | |||||
NFData PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestReviewEvent -> () # | |||||
Data PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestReviewEvent -> c PullRequestReviewEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestReviewEvent # toConstr :: PullRequestReviewEvent -> Constr # dataTypeOf :: PullRequestReviewEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestReviewEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestReviewEvent) # gmapT :: (forall b. Data b => b -> b) -> PullRequestReviewEvent -> PullRequestReviewEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestReviewEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestReviewEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestReviewEvent -> m PullRequestReviewEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewEvent -> m PullRequestReviewEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewEvent -> m PullRequestReviewEvent # | |||||
Generic PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: PullRequestReviewEvent -> Rep PullRequestReviewEvent x # to :: Rep PullRequestReviewEvent x -> PullRequestReviewEvent # | |||||
Show PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestReviewEvent -> ShowS # show :: PullRequestReviewEvent -> String # showList :: [PullRequestReviewEvent] -> ShowS # | |||||
Eq PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: PullRequestReviewEvent -> PullRequestReviewEvent -> Bool # (/=) :: PullRequestReviewEvent -> PullRequestReviewEvent -> Bool # | |||||
EventHasRepo PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: PullRequestReviewEvent -> HookRepository Source # | |||||
EventHasSender PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: PullRequestReviewEvent -> HookUser Source # | |||||
type Rep PullRequestReviewEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestReviewEvent = D1 ('MetaData "PullRequestReviewEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PullRequestReviewEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evPullReqReviewAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PullRequestReviewEventAction) :*: S1 ('MetaSel ('Just "evPullReqReviewPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPullRequestReview)) :*: (S1 ('MetaSel ('Just "evPullReqReviewTarget") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPullRequest) :*: (S1 ('MetaSel ('Just "evPullReqReviewRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evPullReqReviewSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data PullRequestReviewEventAction Source #
Constructors
PullRequestReviewSubmittedAction | Decodes from "submitted" |
PullRequestReviewEditedAction | Decodes from "edited" |
PullRequestReviewDismissedAction | Decodes from "dismissed" |
PullRequestReviewActionOther !Text | The result of decoding an unknown pull request review event action type |
Instances
FromJSON PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestReviewEventAction -> () # | |||||
Data PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestReviewEventAction -> c PullRequestReviewEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestReviewEventAction # toConstr :: PullRequestReviewEventAction -> Constr # dataTypeOf :: PullRequestReviewEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestReviewEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestReviewEventAction) # gmapT :: (forall b. Data b => b -> b) -> PullRequestReviewEventAction -> PullRequestReviewEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestReviewEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestReviewEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestReviewEventAction -> m PullRequestReviewEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewEventAction -> m PullRequestReviewEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewEventAction -> m PullRequestReviewEventAction # | |||||
Generic PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestReviewEventAction -> ShowS # show :: PullRequestReviewEventAction -> String # showList :: [PullRequestReviewEventAction] -> ShowS # | |||||
Eq PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # (/=) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # | |||||
Ord PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Ordering # (<) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # (<=) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # (>) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # (>=) :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> Bool # max :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> PullRequestReviewEventAction # min :: PullRequestReviewEventAction -> PullRequestReviewEventAction -> PullRequestReviewEventAction # | |||||
type Rep PullRequestReviewEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestReviewEventAction = D1 ('MetaData "PullRequestReviewEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "PullRequestReviewSubmittedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestReviewDismissedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
data PullRequestReviewCommentEvent Source #
Triggered when a comment on a pull request's unified diff is created, edited, or deleted (in the Files Changed tab). See https://developer.github.com/v3/activity/events/types/#pullrequestreviewcommentevent.
Constructors
PullRequestReviewCommentEvent | |
Instances
FromJSON PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestReviewCommentEvent -> () # | |||||
Data PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestReviewCommentEvent -> c PullRequestReviewCommentEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestReviewCommentEvent # toConstr :: PullRequestReviewCommentEvent -> Constr # dataTypeOf :: PullRequestReviewCommentEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestReviewCommentEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestReviewCommentEvent) # gmapT :: (forall b. Data b => b -> b) -> PullRequestReviewCommentEvent -> PullRequestReviewCommentEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewCommentEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewCommentEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestReviewCommentEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestReviewCommentEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEvent -> m PullRequestReviewCommentEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEvent -> m PullRequestReviewCommentEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEvent -> m PullRequestReviewCommentEvent # | |||||
Generic PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestReviewCommentEvent -> ShowS # show :: PullRequestReviewCommentEvent -> String # showList :: [PullRequestReviewCommentEvent] -> ShowS # | |||||
Eq PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods repoForEvent :: PullRequestReviewCommentEvent -> HookRepository Source # | |||||
EventHasSender PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: PullRequestReviewCommentEvent -> HookUser Source # | |||||
type Rep PullRequestReviewCommentEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestReviewCommentEvent = D1 ('MetaData "PullRequestReviewCommentEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PullRequestReviewCommentEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evPullReqRevComAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PullRequestReviewCommentEventAction) :*: S1 ('MetaSel ('Just "evPullReqRevComment") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPullRequestReviewComment)) :*: (S1 ('MetaSel ('Just "evPullReqRevTarget") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookPullRequest) :*: (S1 ('MetaSel ('Just "evPullReqRevRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evPullReqRevSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser))))) |
data PullRequestReviewCommentEventAction Source #
Constructors
PullRequestReviewCommentCreatedAction | Decodes from "created" |
PullRequestReviewCommentEditedAction | Decodes from "edited" |
PullRequestReviewCommentDeletedAction | Decodes from "deleted" |
PullRequestReviewCommentActionOther !Text | The result of decoding an unknown pull request review comment event action type |
Instances
FromJSON PullRequestReviewCommentEventAction Source # | |||||
NFData PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: PullRequestReviewCommentEventAction -> () # | |||||
Data PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PullRequestReviewCommentEventAction -> c PullRequestReviewCommentEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PullRequestReviewCommentEventAction # toConstr :: PullRequestReviewCommentEventAction -> Constr # dataTypeOf :: PullRequestReviewCommentEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PullRequestReviewCommentEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PullRequestReviewCommentEventAction) # gmapT :: (forall b. Data b => b -> b) -> PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewCommentEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PullRequestReviewCommentEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> PullRequestReviewCommentEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PullRequestReviewCommentEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEventAction -> m PullRequestReviewCommentEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEventAction -> m PullRequestReviewCommentEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PullRequestReviewCommentEventAction -> m PullRequestReviewCommentEventAction # | |||||
Generic PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> PullRequestReviewCommentEventAction -> ShowS # show :: PullRequestReviewCommentEventAction -> String # showList :: [PullRequestReviewCommentEventAction] -> ShowS # | |||||
Eq PullRequestReviewCommentEventAction Source # | |||||
Ord PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> Ordering # (<) :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> Bool # (<=) :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> Bool # (>) :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> Bool # (>=) :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> Bool # max :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction # min :: PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction -> PullRequestReviewCommentEventAction # | |||||
type Rep PullRequestReviewCommentEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PullRequestReviewCommentEventAction = D1 ('MetaData "PullRequestReviewCommentEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "PullRequestReviewCommentCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewCommentEditedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestReviewCommentDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewCommentActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) |
Triggered on a push to a repository branch. Branch pushes and repository tag pushes also trigger webhook push events. See https://developer.github.com/v3/activity/events/types/#pushevent.
Constructors
PushEvent | |
Fields
|
Instances
FromJSON PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
Data PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PushEvent -> c PushEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PushEvent # toConstr :: PushEvent -> Constr # dataTypeOf :: PushEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PushEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PushEvent) # gmapT :: (forall b. Data b => b -> b) -> PushEvent -> PushEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PushEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PushEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> PushEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PushEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PushEvent -> m PushEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PushEvent -> m PushEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PushEvent -> m PushEvent # | |||||
Generic PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show PushEvent Source # | |||||
Eq PushEvent Source # | |||||
EventHasMaybeSender PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep PushEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep PushEvent = D1 ('MetaData "PushEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "PushEvent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "evPushRef") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "evPushHeadSha") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "evPushBeforeSha") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "evPushCreated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "evPushDeleted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "evPushForced") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "evPushBaseRef") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "evPushCompareUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "evPushCommits") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Vector HookCommit))))) :*: ((S1 ('MetaSel ('Just "evPushHeadCommit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookCommit)) :*: S1 ('MetaSel ('Just "evPushRepository") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository)) :*: (S1 ('MetaSel ('Just "evPushOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganization)) :*: S1 ('MetaSel ('Just "evPushSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookUser))))))) |
data ReleaseEvent Source #
Triggered when a release is published. See https://developer.github.com/v3/activity/events/types/#releaseevent.
Constructors
ReleaseEvent | |
Fields
|
Instances
FromJSON ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ReleaseEvent -> () # | |||||
Data ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReleaseEvent -> c ReleaseEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReleaseEvent # toConstr :: ReleaseEvent -> Constr # dataTypeOf :: ReleaseEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReleaseEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReleaseEvent) # gmapT :: (forall b. Data b => b -> b) -> ReleaseEvent -> ReleaseEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> ReleaseEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReleaseEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReleaseEvent -> m ReleaseEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseEvent -> m ReleaseEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseEvent -> m ReleaseEvent # | |||||
Generic ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ReleaseEvent -> ShowS # show :: ReleaseEvent -> String # showList :: [ReleaseEvent] -> ShowS # | |||||
Eq ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: ReleaseEvent -> HookUser Source # | |||||
type Rep ReleaseEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ReleaseEvent = D1 ('MetaData "ReleaseEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ReleaseEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evReleaseEventAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReleaseEventAction) :*: S1 ('MetaSel ('Just "evReleaseEventPayload") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRelease)) :*: (S1 ('MetaSel ('Just "evReleaseEventRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evReleaseEventSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data ReleaseEventAction Source #
Constructors
ReleasePublishedAction | Decodes from "published" |
ReleaseActionOther !Text | The result of decoding an unknown release event action type |
Instances
FromJSON ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser ReleaseEventAction # parseJSONList :: Value -> Parser [ReleaseEventAction] # | |||||
NFData ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: ReleaseEventAction -> () # | |||||
Data ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReleaseEventAction -> c ReleaseEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReleaseEventAction # toConstr :: ReleaseEventAction -> Constr # dataTypeOf :: ReleaseEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReleaseEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReleaseEventAction) # gmapT :: (forall b. Data b => b -> b) -> ReleaseEventAction -> ReleaseEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> ReleaseEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReleaseEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReleaseEventAction -> m ReleaseEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseEventAction -> m ReleaseEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseEventAction -> m ReleaseEventAction # | |||||
Generic ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: ReleaseEventAction -> Rep ReleaseEventAction x # to :: Rep ReleaseEventAction x -> ReleaseEventAction # | |||||
Show ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> ReleaseEventAction -> ShowS # show :: ReleaseEventAction -> String # showList :: [ReleaseEventAction] -> ShowS # | |||||
Eq ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: ReleaseEventAction -> ReleaseEventAction -> Bool # (/=) :: ReleaseEventAction -> ReleaseEventAction -> Bool # | |||||
Ord ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: ReleaseEventAction -> ReleaseEventAction -> Ordering # (<) :: ReleaseEventAction -> ReleaseEventAction -> Bool # (<=) :: ReleaseEventAction -> ReleaseEventAction -> Bool # (>) :: ReleaseEventAction -> ReleaseEventAction -> Bool # (>=) :: ReleaseEventAction -> ReleaseEventAction -> Bool # max :: ReleaseEventAction -> ReleaseEventAction -> ReleaseEventAction # min :: ReleaseEventAction -> ReleaseEventAction -> ReleaseEventAction # | |||||
type Rep ReleaseEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep ReleaseEventAction = D1 ('MetaData "ReleaseEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "ReleasePublishedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReleaseActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) |
data RepositoryEvent Source #
Triggered when a repository is created, archived, unarchived, made public, or made private. Organization hooks are also triggered when a repository is deleted. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#repositoryevent.
Constructors
RepositoryEvent | |
Instances
FromJSON RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser RepositoryEvent # parseJSONList :: Value -> Parser [RepositoryEvent] # | |||||
NFData RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: RepositoryEvent -> () # | |||||
Data RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryEvent -> c RepositoryEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryEvent # toConstr :: RepositoryEvent -> Constr # dataTypeOf :: RepositoryEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryEvent) # gmapT :: (forall b. Data b => b -> b) -> RepositoryEvent -> RepositoryEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> RepositoryEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryEvent -> m RepositoryEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryEvent -> m RepositoryEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryEvent -> m RepositoryEvent # | |||||
Generic RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: RepositoryEvent -> Rep RepositoryEvent x # to :: Rep RepositoryEvent x -> RepositoryEvent # | |||||
Show RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> RepositoryEvent -> ShowS # show :: RepositoryEvent -> String # showList :: [RepositoryEvent] -> ShowS # | |||||
Eq RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: RepositoryEvent -> RepositoryEvent -> Bool # (/=) :: RepositoryEvent -> RepositoryEvent -> Bool # | |||||
EventHasRepo RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
type Rep RepositoryEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep RepositoryEvent = D1 ('MetaData "RepositoryEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "RepositoryEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evRepositoryAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RepositoryEventAction) :*: S1 ('MetaSel ('Just "evRepositoryTarget") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository)) :*: (S1 ('MetaSel ('Just "evRepositoryOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookOrganization)) :*: S1 ('MetaSel ('Just "evRepositorySender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data RepositoryEventAction Source #
Constructors
RepositoryCreatedAction | Decodes from "created" |
RepositoryDeletedAction | Decodes from "deleted" |
RepositoryArchivedAction | Decodes from "archived" |
RepositoryUnarchivedAction | Decodes from "unarchived" |
RepositoryPublicizedAction | Decodes from "publicized" |
RepositoryPrivatizedAction | Decodes from "privatized" |
RepositoryActionOther !Text | The result of decoding an unknown repository event action type |
Instances
FromJSON RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser RepositoryEventAction # parseJSONList :: Value -> Parser [RepositoryEventAction] # | |||||
NFData RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: RepositoryEventAction -> () # | |||||
Data RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryEventAction -> c RepositoryEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryEventAction # toConstr :: RepositoryEventAction -> Constr # dataTypeOf :: RepositoryEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryEventAction) # gmapT :: (forall b. Data b => b -> b) -> RepositoryEventAction -> RepositoryEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> RepositoryEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryEventAction -> m RepositoryEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryEventAction -> m RepositoryEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryEventAction -> m RepositoryEventAction # | |||||
Generic RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: RepositoryEventAction -> Rep RepositoryEventAction x # to :: Rep RepositoryEventAction x -> RepositoryEventAction # | |||||
Show RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> RepositoryEventAction -> ShowS # show :: RepositoryEventAction -> String # showList :: [RepositoryEventAction] -> ShowS # | |||||
Eq RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: RepositoryEventAction -> RepositoryEventAction -> Bool # (/=) :: RepositoryEventAction -> RepositoryEventAction -> Bool # | |||||
Ord RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: RepositoryEventAction -> RepositoryEventAction -> Ordering # (<) :: RepositoryEventAction -> RepositoryEventAction -> Bool # (<=) :: RepositoryEventAction -> RepositoryEventAction -> Bool # (>) :: RepositoryEventAction -> RepositoryEventAction -> Bool # (>=) :: RepositoryEventAction -> RepositoryEventAction -> Bool # max :: RepositoryEventAction -> RepositoryEventAction -> RepositoryEventAction # min :: RepositoryEventAction -> RepositoryEventAction -> RepositoryEventAction # | |||||
type Rep RepositoryEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep RepositoryEventAction = D1 ('MetaData "RepositoryEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "RepositoryCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RepositoryDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RepositoryArchivedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "RepositoryUnarchivedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RepositoryPublicizedAction" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RepositoryPrivatizedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RepositoryActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data StatusEvent Source #
Triggered when the status of a Git commit changes. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#statusevent.
Constructors
StatusEvent | |
Fields
|
Instances
FromJSON StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: StatusEvent -> () # | |||||
Data StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusEvent -> c StatusEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusEvent # toConstr :: StatusEvent -> Constr # dataTypeOf :: StatusEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusEvent) # gmapT :: (forall b. Data b => b -> b) -> StatusEvent -> StatusEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> StatusEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusEvent -> m StatusEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusEvent -> m StatusEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusEvent -> m StatusEvent # | |||||
Generic StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> StatusEvent -> ShowS # show :: StatusEvent -> String # showList :: [StatusEvent] -> ShowS # | |||||
Eq StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: StatusEvent -> HookUser Source # | |||||
type Rep StatusEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep StatusEvent = D1 ('MetaData "StatusEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "StatusEvent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "evStatusId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "evStatusCommitSha") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evStatusCommitName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "evStatusTargetUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe URL)) :*: (S1 ('MetaSel ('Just "evStatusContext") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "evStatusDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "evStatusState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StatusEventState) :*: (S1 ('MetaSel ('Just "evStatusCommit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookCommit) :*: S1 ('MetaSel ('Just "evStatusCreatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime))) :*: (S1 ('MetaSel ('Just "evStatusUpdatedAt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "evStatusRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evStatusSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))))) |
data StatusEventState Source #
Constructors
StatusPendingState | Decodes from "pending" |
StatusSuccessState | Decodes from "success" |
StatusFailureState | Decodes from "failure" |
StatusErrorState | Decodes from "error" |
StatusStateOther !Text | The result of decoding an unknown status event state |
Instances
FromJSON StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser StatusEventState # parseJSONList :: Value -> Parser [StatusEventState] # | |||||
NFData StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: StatusEventState -> () # | |||||
Data StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusEventState -> c StatusEventState # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusEventState # toConstr :: StatusEventState -> Constr # dataTypeOf :: StatusEventState -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusEventState) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusEventState) # gmapT :: (forall b. Data b => b -> b) -> StatusEventState -> StatusEventState # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusEventState -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusEventState -> r # gmapQ :: (forall d. Data d => d -> u) -> StatusEventState -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusEventState -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusEventState -> m StatusEventState # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusEventState -> m StatusEventState # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusEventState -> m StatusEventState # | |||||
Generic StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: StatusEventState -> Rep StatusEventState x # to :: Rep StatusEventState x -> StatusEventState # | |||||
Show StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> StatusEventState -> ShowS # show :: StatusEventState -> String # showList :: [StatusEventState] -> ShowS # | |||||
Eq StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: StatusEventState -> StatusEventState -> Bool # (/=) :: StatusEventState -> StatusEventState -> Bool # | |||||
Ord StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: StatusEventState -> StatusEventState -> Ordering # (<) :: StatusEventState -> StatusEventState -> Bool # (<=) :: StatusEventState -> StatusEventState -> Bool # (>) :: StatusEventState -> StatusEventState -> Bool # (>=) :: StatusEventState -> StatusEventState -> Bool # max :: StatusEventState -> StatusEventState -> StatusEventState # min :: StatusEventState -> StatusEventState -> StatusEventState # | |||||
type Rep StatusEventState Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep StatusEventState = D1 ('MetaData "StatusEventState" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "StatusPendingState" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StatusSuccessState" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "StatusFailureState" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "StatusErrorState" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StatusStateOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
Triggered when an organization's team is created or deleted. Events of this type are not visible in timelines. These events are only used to trigger organization hooks. See https://developer.github.com/v3/activity/events/types/#teamevent.
Constructors
TeamEvent | |
Fields |
Instances
FromJSON TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
Data TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamEvent -> c TeamEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamEvent # toConstr :: TeamEvent -> Constr # dataTypeOf :: TeamEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamEvent) # gmapT :: (forall b. Data b => b -> b) -> TeamEvent -> TeamEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> TeamEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamEvent -> m TeamEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamEvent -> m TeamEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamEvent -> m TeamEvent # | |||||
Generic TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show TeamEvent Source # | |||||
Eq TeamEvent Source # | |||||
EventHasSender TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: TeamEvent -> HookUser Source # | |||||
type Rep TeamEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep TeamEvent = D1 ('MetaData "TeamEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "TeamEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evTeamAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TeamEventAction) :*: S1 ('MetaSel ('Just "evTeamTarget") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookTeam)) :*: (S1 ('MetaSel ('Just "evTeamOrganization") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evTeamSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data TeamEventAction Source #
Constructors
TeamCreatedAction | Decodes from "created" |
TeamDeletedAction | Decodes from "deleted" |
TeamEditedAction | Decodes from "edited" |
TeamAddedToRepoAction | Decodes from "added_to_repository" |
TeamRemovedFromRepoAction | Decodes from "removed_from_repository" |
TeamActionOther !Text | The result of decoding an unknown team event action type |
Instances
FromJSON TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser TeamEventAction # parseJSONList :: Value -> Parser [TeamEventAction] # | |||||
NFData TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: TeamEventAction -> () # | |||||
Data TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamEventAction -> c TeamEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamEventAction # toConstr :: TeamEventAction -> Constr # dataTypeOf :: TeamEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamEventAction) # gmapT :: (forall b. Data b => b -> b) -> TeamEventAction -> TeamEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> TeamEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamEventAction -> m TeamEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamEventAction -> m TeamEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamEventAction -> m TeamEventAction # | |||||
Generic TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: TeamEventAction -> Rep TeamEventAction x # to :: Rep TeamEventAction x -> TeamEventAction # | |||||
Show TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> TeamEventAction -> ShowS # show :: TeamEventAction -> String # showList :: [TeamEventAction] -> ShowS # | |||||
Eq TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: TeamEventAction -> TeamEventAction -> Bool # (/=) :: TeamEventAction -> TeamEventAction -> Bool # | |||||
Ord TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: TeamEventAction -> TeamEventAction -> Ordering # (<) :: TeamEventAction -> TeamEventAction -> Bool # (<=) :: TeamEventAction -> TeamEventAction -> Bool # (>) :: TeamEventAction -> TeamEventAction -> Bool # (>=) :: TeamEventAction -> TeamEventAction -> Bool # max :: TeamEventAction -> TeamEventAction -> TeamEventAction # min :: TeamEventAction -> TeamEventAction -> TeamEventAction # | |||||
type Rep TeamEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep TeamEventAction = D1 ('MetaData "TeamEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) ((C1 ('MetaCons "TeamCreatedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TeamDeletedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TeamEditedAction" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TeamAddedToRepoAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TeamRemovedFromRepoAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TeamActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
data TeamAddEvent Source #
Triggered when a repository is added to a team. Events of this type are not visible in timelines. These events are only used to trigger hooks. See https://developer.github.com/v3/activity/events/types/#teamaddevent.
Constructors
TeamAddEvent | |
Fields
|
Instances
FromJSON TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: TeamAddEvent -> () # | |||||
Data TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamAddEvent -> c TeamAddEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamAddEvent # toConstr :: TeamAddEvent -> Constr # dataTypeOf :: TeamAddEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamAddEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamAddEvent) # gmapT :: (forall b. Data b => b -> b) -> TeamAddEvent -> TeamAddEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamAddEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamAddEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> TeamAddEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamAddEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamAddEvent -> m TeamAddEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamAddEvent -> m TeamAddEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamAddEvent -> m TeamAddEvent # | |||||
Generic TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> TeamAddEvent -> ShowS # show :: TeamAddEvent -> String # showList :: [TeamAddEvent] -> ShowS # | |||||
Eq TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: TeamAddEvent -> HookUser Source # | |||||
type Rep TeamAddEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep TeamAddEvent = D1 ('MetaData "TeamAddEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "TeamAddEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evTeamAddTarget") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe HookTeam)) :*: S1 ('MetaSel ('Just "evTeamAddRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository)) :*: (S1 ('MetaSel ('Just "evTeamAddOrg") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookOrganization) :*: S1 ('MetaSel ('Just "evTeamAddSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data WatchEvent Source #
The WatchEvent is related to starring a repository, not watching. The event’s actor is the user who starred a repository, and the event’s repository is the repository that was starred. See https://developer.github.com/v3/activity/events/types/#watchevent.
Constructors
WatchEvent | |
Fields |
Instances
FromJSON WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
NFData WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: WatchEvent -> () # | |||||
Data WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WatchEvent -> c WatchEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WatchEvent # toConstr :: WatchEvent -> Constr # dataTypeOf :: WatchEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WatchEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WatchEvent) # gmapT :: (forall b. Data b => b -> b) -> WatchEvent -> WatchEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WatchEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WatchEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> WatchEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> WatchEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WatchEvent -> m WatchEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchEvent -> m WatchEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchEvent -> m WatchEvent # | |||||
Generic WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
| |||||
Show WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> WatchEvent -> ShowS # show :: WatchEvent -> String # showList :: [WatchEvent] -> ShowS # | |||||
Eq WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events | |||||
EventHasRepo WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods | |||||
EventHasSender WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods senderOfEvent :: WatchEvent -> HookUser Source # | |||||
type Rep WatchEvent Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep WatchEvent = D1 ('MetaData "WatchEvent" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "WatchEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "evWatchAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 WatchEventAction) :*: (S1 ('MetaSel ('Just "evWatchRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookRepository) :*: S1 ('MetaSel ('Just "evWatchSender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HookUser)))) |
data WatchEventAction Source #
Constructors
WatchStartedAction | Decodes from "started" |
WatchActionOther !Text | The result of decoding an unknown watch event action type |
Instances
FromJSON WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods parseJSON :: Value -> Parser WatchEventAction # parseJSONList :: Value -> Parser [WatchEventAction] # | |||||
NFData WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods rnf :: WatchEventAction -> () # | |||||
Data WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WatchEventAction -> c WatchEventAction # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WatchEventAction # toConstr :: WatchEventAction -> Constr # dataTypeOf :: WatchEventAction -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WatchEventAction) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WatchEventAction) # gmapT :: (forall b. Data b => b -> b) -> WatchEventAction -> WatchEventAction # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WatchEventAction -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WatchEventAction -> r # gmapQ :: (forall d. Data d => d -> u) -> WatchEventAction -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> WatchEventAction -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WatchEventAction -> m WatchEventAction # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchEventAction -> m WatchEventAction # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WatchEventAction -> m WatchEventAction # | |||||
Generic WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Associated Types
Methods from :: WatchEventAction -> Rep WatchEventAction x # to :: Rep WatchEventAction x -> WatchEventAction # | |||||
Show WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods showsPrec :: Int -> WatchEventAction -> ShowS # show :: WatchEventAction -> String # showList :: [WatchEventAction] -> ShowS # | |||||
Eq WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods (==) :: WatchEventAction -> WatchEventAction -> Bool # (/=) :: WatchEventAction -> WatchEventAction -> Bool # | |||||
Ord WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events Methods compare :: WatchEventAction -> WatchEventAction -> Ordering # (<) :: WatchEventAction -> WatchEventAction -> Bool # (<=) :: WatchEventAction -> WatchEventAction -> Bool # (>) :: WatchEventAction -> WatchEventAction -> Bool # (>=) :: WatchEventAction -> WatchEventAction -> Bool # max :: WatchEventAction -> WatchEventAction -> WatchEventAction # min :: WatchEventAction -> WatchEventAction -> WatchEventAction # | |||||
type Rep WatchEventAction Source # | |||||
Defined in GitHub.Data.Webhooks.Events type Rep WatchEventAction = D1 ('MetaData "WatchEventAction" "GitHub.Data.Webhooks.Events" "github-webhooks-0.18.0-7RtcUvwVkaVAKY7gLXpnTB" 'False) (C1 ('MetaCons "WatchStartedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WatchActionOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) |