From c3da1c2853a58ac16d6510762714b92f10085985 Mon Sep 17 00:00:00 2001 From: Patrick Rice Date: Wed, 4 Dec 2024 10:49:18 -0600 Subject: [PATCH] Add comment to CreateServiceAccountUserOptions --- users.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users.go b/users.go index 02c0c3ec8..5eee42833 100644 --- a/users.go +++ b/users.go @@ -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"`