This commit is contained in:
Nukeap committed 2024-04-23 16:49:10 +03:00
commit c0f618a9db
133 files changed
+55621

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
package gitlab
import (
"time"
)
// WebhookInfo Provides information about group or project hooks.
type WebhookInfo struct {
ID int
URL string
ConfidentialNoteEvents bool
PushEvents bool
IssuesEvents bool
ConfidentialIssuesEvents bool
MergeRequestsEvents bool
TagPushEvents bool
NoteEvents bool
JobEvents bool
PipelineEvents bool
WikiPageEvents bool
EnableSSLVerification bool
CreatedAt *time.Time
Scope Scope
}
// AddWebhookOptions is a paramater object with options for creating a project or group hook.
type AddWebhookOptions struct {
URL string
ConfidentialNoteEvents bool
PushEvents bool
IssuesEvents bool
ConfidentialIssuesEvents bool
MergeRequestsEvents bool
TagPushEvents bool
NoteEvents bool
JobEvents bool
PipelineEvents bool
WikiPageEvents bool
EnableSSLVerification bool
Token string
}