pydantic_gitlab_webhooks.events
Generic models
The AnyEvent
model represents any event body which may be present in a GitHub webhook.
AnyEvent
AnyEvent = Union[
CommitNoteEvent,
DeploymentEvent,
EmojiEvent,
FeatureFlagEvent,
GroupAccessTokenEvent,
GroupMemberEvent,
IssueEvent,
IssueNoteEvent,
JobEvent,
MergeRequestNoteEvent,
PipelineEvent,
ProjectAccessTokenEvent,
ProjectEvent,
PushEvent,
ReleaseEvent,
SnippetNoteEvent,
SubgroupEvent,
TagPushEvent,
WikiPageEvent,
]
Event-specific models
Specific types of event each have their own Pydantic model.
PushEvent
TagPushEvent
IssueEvent
object_attributes
object_attributes: Issue
CommitNoteEvent
IssueNoteEvent
MergeRequestNoteEvent
SnippetNoteEvent
MergeRequestEvent
object_attributes
object_attributes: MergeRequest
WikiPageEvent
PipelineEvent
JobEvent
commit
commit: Commit
DeploymentEvent
GroupMemberEvent
ProjectEvent
SubgroupEvent
FeatureFlagEvent
ReleaseEvent
EmojiEvent
ProjectAccessTokenEvent
GroupAccessTokenEvent
group
group: Group