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
192be8ba
Unverified
Commit
192be8ba
authored
Jul 28, 2021
by
Robert.Schreib
Browse files
Add the bot flag to the User class
parent
3d327e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/User.java
View file @
192be8ba
...
...
@@ -8,6 +8,7 @@ import org.gitlab4j.api.utils.JacksonJson;
public
class
User
extends
AbstractUser
<
User
>
{
private
String
bio
;
private
Boolean
bot
;
private
Boolean
canCreateGroup
;
private
Boolean
canCreateProject
;
private
Integer
colorSchemeId
;
...
...
@@ -45,6 +46,14 @@ public class User extends AbstractUser<User> {
this
.
bio
=
bio
;
}
public
Boolean
getBot
()
{
return
bot
;
}
public
void
setBot
(
Boolean
bot
)
{
this
.
bot
=
bot
;
}
public
Boolean
getCanCreateGroup
()
{
return
canCreateGroup
;
}
...
...
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