Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Add comment to CreateServiceAccountUserOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
RicePatrick authored Dec 4, 2024
1 parent 6ba9ee4 commit c3da1c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions users.go
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,10 @@ func (s *UsersService) CreateUserRunner(opts *CreateUserRunnerOptions, options .
return r, resp, nil
}


// CreateServiceAccountUserOptions represents the available CreateServiceAccountUser() options.
//
// GitLab API docs: https://docs.gitlab.com/ee/api/user_service_accounts.html#create-a-service-account-user
type CreateServiceAccountUserOptions struct {
Name *string `url:"name,omitempty" json:"name,omitempty"`
Username *string `url:"username,omitempty" json:"username,omitempty"`
Expand Down

0 comments on commit c3da1c2

Please sign in to comment.