Skip to content

Commit

Permalink
Add a pending_delete field to projects and groups
Browse files Browse the repository at this point in the history
  • Loading branch information
svanharmelen committed Mar 3, 2020
1 parent 6f05510 commit a681a65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type Group struct {
LDAPAccess AccessLevelValue `json:"ldap_access"`
SharedRunnersMinutesLimit int `json:"shared_runners_minutes_limit"`
ExtraSharedRunnersMinutesLimit int `json:"extra_shared_runners_minutes_limit"`
PendingDelete bool `json:"pending_delete"`
}

// ListGroupsOptions represents the available ListGroups() options.
Expand Down
4 changes: 3 additions & 1 deletion projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type Project struct {
ImportStatus string `json:"import_status"`
ImportError string `json:"import_error"`
Permissions *Permissions `json:"permissions"`
MarkedForDeletionAt *time.Time `json:"marked_for_deletion_at"`
Archived bool `json:"archived"`
AvatarURL string `json:"avatar_url"`
SharedRunnersEnabled bool `json:"shared_runners_enabled"`
Expand All @@ -94,8 +95,9 @@ type Project struct {
} `json:"shared_with_groups"`
Statistics *ProjectStatistics `json:"statistics"`
Links *Links `json:"_links,omitempty"`
CIConfigPath *string `json:"ci_config_path"`
CIConfigPath string `json:"ci_config_path"`
CustomAttributes []*CustomAttribute `json:"custom_attributes"`
PendingDelete bool `json:"pending_delete"`
}

// Repository represents a repository.
Expand Down

0 comments on commit a681a65

Please sign in to comment.