Skip to content

Commit 192be8b

Browse files
committed
Add the bot flag to the User class
1 parent 3d327e3 commit 192be8b

File tree

1 file changed

+9
-0
lines changed
  • src/main/java/org/gitlab4j/api/models

1 file changed

+9
-0
lines changed

src/main/java/org/gitlab4j/api/models/User.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
public class User extends AbstractUser<User> {
99

1010
private String bio;
11+
private Boolean bot;
1112
private Boolean canCreateGroup;
1213
private Boolean canCreateProject;
1314
private Integer colorSchemeId;
@@ -45,6 +46,14 @@ public void setBio(String bio) {
4546
this.bio = bio;
4647
}
4748

49+
public Boolean getBot() {
50+
return bot;
51+
}
52+
53+
public void setBot(Boolean bot) {
54+
this.bot = bot;
55+
}
56+
4857
public Boolean getCanCreateGroup() {
4958
return canCreateGroup;
5059
}

0 commit comments

Comments
 (0)