|
|
|
@ -51,11 +51,14 @@ type Repository struct { |
|
|
|
License *License `json:"license,omitempty"` |
|
|
|
|
|
|
|
// Additional mutable fields when creating and editing a repository
|
|
|
|
Private *bool `json:"private"` |
|
|
|
HasIssues *bool `json:"has_issues"` |
|
|
|
HasWiki *bool `json:"has_wiki"` |
|
|
|
HasPages *bool `json:"has_pages"` |
|
|
|
HasDownloads *bool `json:"has_downloads"` |
|
|
|
Private *bool `json:"private"` |
|
|
|
HasIssues *bool `json:"has_issues"` |
|
|
|
HasWiki *bool `json:"has_wiki"` |
|
|
|
HasPages *bool `json:"has_pages"` |
|
|
|
HasDownloads *bool `json:"has_downloads"` |
|
|
|
LicenseTemplate *string `json:"license_template,omitempty"` |
|
|
|
GitignoreTemplate *string `json:"gitignore_template,omitempty"` |
|
|
|
|
|
|
|
// Creating an organization repository. Required for non-owners.
|
|
|
|
TeamID *int `json:"team_id"` |
|
|
|
|
|
|
|
|