Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventActor ¶
type PullRequestEvent ¶
type PullRequestEvent struct {
Actor bbv1.UserWithLinks `json:"actor"`
PullRequest bbv1.PullRequest `json:"pullRequest"`
EventKey string `json:"eventKey"`
// Comment should be used when event is `pr:comment:added` or `pr:comment:edited`.
Comment bbv1.ActivityComment `json:"comment"`
// CommentParentID and PreviousComment should be used when event is `pr:comment:edited`.
CommentParentID string `json:"commentParentId"`
PreviousComment string `json:"previousComment"`
}
type PushRequestEvent ¶
type PushRequestEvent struct {
EventKey string `json:"eventKey"`
Actor bbv1.UserWithLinks `json:"actor"`
Repository bbv1.Repository `json:"repository"`
Changes []PushRequestEventChange `json:"changes"`
Commits []bbv1.Commit `json:"commits"`
ToCommit ToCommit `json:"toCommit"`
}
type PushRequestEventChange ¶
Click to show internal directories.
Click to hide internal directories.