Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
PullRequests []PullRequest `json:"pull_requests"`
}
type PrInteraction ¶
type PrInteraction struct { AuthorLdap string `json:"author_ldap"` AuthorFullName string `json:"author_fullname"` PullRequestId int64 `json:"pull_request_id"` CreatedDateTime int64 `json:"created_datetime"` PrApproval bool `json:"approved"` Type string `json:"type"` /* the id in stash of the Activity */ RefId int64 `json:"ref_id"` }
A comment or approval
type PullRequest ¶
type PullRequest struct { AuthorLdap string `json:"author_ldap"` AuthorFullName string `json:"author_fullname"` Project string `json:"project"` Repo string `json:"repo"` PullRequestId int64 `json:"pull_request_id"` Title string `json:"title"` CommentCount int `json:"comment_count"` /* e.g. OPEN, MERGED, REJECTED */ State string `json:"state"` Comments []PrInteraction `json:"comments"` CreatedDateTime int64 `json:"created_datetime"` UpdatedDateTime int64 `json:"updated_datetime"` SecondsOpen int64 `json:"seconds_open"` CommentsByAuthorLdap map[string]int `json:"comments_by_author_ldap"` ApprovalsByAuthorLdap map[string]int `json:"approvals_by_author_ldap"` SelfUrl string `json:"self_url"` }
Click to show internal directories.
Click to hide internal directories.