Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
f9baa81b
Unverified
Commit
f9baa81b
authored
Aug 23, 2023
by
Benjamin Schmitz
Committed by
GitHub
Aug 23, 2023
Browse files
Add namespace to user (#1021)
parent
6a3839bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/User.java
View file @
f9baa81b
...
...
@@ -24,6 +24,7 @@ public class User extends AbstractUser<User> {
private
Date
lastSignInAt
;
private
String
linkedin
;
private
String
location
;
private
Long
namespaceId
;
private
String
organization
;
private
Boolean
privateProfile
;
private
Integer
projectsLimit
;
...
...
@@ -166,6 +167,14 @@ public class User extends AbstractUser<User> {
this
.
location
=
location
;
}
public
Long
getNamespaceId
()
{
return
namespaceId
;
}
public
void
setNamespaceId
(
Long
namespaceId
)
{
this
.
namespaceId
=
namespaceId
;
}
public
String
getOrganization
()
{
return
organization
;
}
...
...
src/test/resources/org/gitlab4j/api/user.json
View file @
f9baa81b
...
...
@@ -34,5 +34,6 @@
"external"
:
false
,
"private_profile"
:
false
,
"shared_runners_minutes_limit"
:
133
,
"extra_shared_runners_minutes_limit"
:
133
"extra_shared_runners_minutes_limit"
:
133
,
"namespace_id"
:
1
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment