Verified Commit d8cbbcc0 authored by Zubeen's avatar Zubeen 🤖 Committed by GitLab
Browse files

fix(users): deprecate ignored skype and job_title options

Changelog: Improvements
parent 7f1dadc7
Loading
Loading
Loading
Loading
+4 −0
Changes for users.go: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -562,6 +562,7 @@ type CreateUserOptions struct {
	External            *bool       `url:"external,omitempty" json:"external,omitempty"`
	ExternUID           *string     `url:"extern_uid,omitempty" json:"extern_uid,omitempty"`
	ForceRandomPassword *bool       `url:"force_random_password,omitempty" json:"force_random_password,omitempty"`
	// Deprecated: ignored by GitLab, will be removed in a future release
	JobTitle         *string `url:"job_title,omitempty" json:"job_title,omitempty"`
	Linkedin         *string `url:"linkedin,omitempty" json:"linkedin,omitempty"`
	Location         *string `url:"location,omitempty" json:"location,omitempty"`
@@ -574,6 +575,7 @@ type CreateUserOptions struct {
	Provider         *string `url:"provider,omitempty" json:"provider,omitempty"`
	ResetPassword    *bool   `url:"reset_password,omitempty" json:"reset_password,omitempty"`
	SkipConfirmation *bool   `url:"skip_confirmation,omitempty" json:"skip_confirmation,omitempty"`
	// Deprecated: ignored by GitLab, will be removed in a future release
	Skype               *string `url:"skype,omitempty" json:"skype,omitempty"`
	ThemeID             *int64  `url:"theme_id,omitempty" json:"theme_id,omitempty"`
	Twitter             *string `url:"twitter,omitempty" json:"twitter,omitempty"`
@@ -620,6 +622,7 @@ type ModifyUserOptions struct {
	Email          *string     `url:"email,omitempty" json:"email,omitempty"`
	External       *bool       `url:"external,omitempty" json:"external,omitempty"`
	ExternUID      *string     `url:"extern_uid,omitempty" json:"extern_uid,omitempty"`
	// Deprecated: ignored by GitLab, will be removed in a future release
	JobTitle           *string `url:"job_title,omitempty" json:"job_title,omitempty"`
	Linkedin           *string `url:"linkedin,omitempty" json:"linkedin,omitempty"`
	Location           *string `url:"location,omitempty" json:"location,omitempty"`
@@ -632,6 +635,7 @@ type ModifyUserOptions struct {
	Provider           *string `url:"provider,omitempty" json:"provider,omitempty"`
	PublicEmail        *string `url:"public_email,omitempty" json:"public_email,omitempty"`
	SkipReconfirmation *bool   `url:"skip_reconfirmation,omitempty" json:"skip_reconfirmation,omitempty"`
	// Deprecated: ignored by GitLab, will be removed in a future release
	Skype               *string `url:"skype,omitempty" json:"skype,omitempty"`
	ThemeID             *int64  `url:"theme_id,omitempty" json:"theme_id,omitempty"`
	Twitter             *string `url:"twitter,omitempty" json:"twitter,omitempty"`