Commit fba2237f authored by Sander van Harmelen's avatar Sander van Harmelen

Merge pull request #39 from thecanadianbaker/update-project

Updated Project struct
parents 625995db 6771d896
......@@ -49,16 +49,23 @@ type Project struct {
Path *string `json:"path"`
PathWithNamespace *string `json:"path_with_namespace"`
IssuesEnabled *bool `json:"issues_enabled"`
OpenIssuesCount *int `json:"open_issues_count"`
MergeRequestsEnabled *bool `json:"merge_requests_enabled"`
BuildsEnabled *bool `json:"builds_enabled"`
WikiEnabled *bool `json:"wiki_enabled"`
SnippetsEnabled *bool `json:"snippets_enabled"`
CreatedAt *time.Time `json:"created_at,omitempty"`
LastActivityAt *time.Time `json:"last_activity_at,omitempty"`
CreatorID *int `json:"creator_id"`
Namespace *ProjectNamespace `json:"namespace"`
Permissions *Permissions `json:"permissions"`
Archived *bool `json:"archived"`
AvatarURL *string `json:"avatar_url"`
Permissions *Permissions `json:"permissions"`
SharedRunnersEnabled *bool `json:"shared_runners_enabled"`
ForksCount *int `json:"forks_count"`
StarCount *int `json:"star_count"`
RunnersToken *string `json:"runners_token"`
PublicBuilds *bool `json:"public_builds"`
}
type ProjectNamespace struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment