@@ -249,7 +249,7 @@ type RepositoryBranchDeleteOptions struct {
249249 RepoSlug string `json:"repo_slug"`
250250 RepoUUID string `json:"uuid"`
251251 RefName string `json:"name"`
252- RefUUID string `json:uuid`
252+ RefUUID string `json:" uuid" `
253253}
254254
255255type RepositoryBranchTarget struct {
@@ -382,17 +382,19 @@ type DiffOptions struct {
382382}
383383
384384type DiffStatOptions struct {
385- Owner string `json:"owner"`
386- RepoSlug string `json:"repo_slug"`
387- Spec string `json:"spec"`
388- Whitespace bool `json:"ignore_whitespace"`
389- Merge bool `json:"merge"`
390- Path string `json:"path"`
391- Renames bool `json:"renames"`
392- PageNum int `json:"page"`
393- Pagelen int `json:"pagelen"`
394- MaxDepth int `json:"max_depth"`
395- Fields []string
385+ Owner string `json:"owner"`
386+ RepoSlug string `json:"repo_slug"`
387+ Spec string `json:"spec"`
388+ FromPullRequestID int `json:"from_pullrequest_id"`
389+ Whitespace bool `json:"ignore_whitespace"`
390+ Merge bool `json:"merge"`
391+ Path string `json:"path"`
392+ Renames bool `json:"renames"`
393+ Topic bool `json:"topic"`
394+ PageNum int `json:"page"`
395+ Pagelen int `json:"pagelen"`
396+ MaxDepth int `json:"max_depth"`
397+ Fields []string
396398}
397399
398400type WebhooksOptions struct {
0 commit comments