Commit ce8fa891 authored by Stephan's avatar Stephan

Add 'projects_limit' attribute to GitlabUser

parent fe9c89b1
......@@ -5,6 +5,7 @@ import java.util.Date;
import com.fasterxml.jackson.annotation.JsonProperty;
public class GitlabUser {
public static String URL = "/users";
public static String USERS_URL = "/users";
public static String USER_URL = "/user"; // for sudo based ops
......@@ -70,6 +71,9 @@ public class GitlabUser {
@JsonProperty("current_sign_in_at")
private Date _currentSignInAt;
@JsonProperty("projects_limit")
private Integer _projectsLimit;
public Integer getId() {
return _id;
}
......@@ -277,4 +281,12 @@ public class GitlabUser {
public void setCurrentSignInAt(Date currentSignInAt) {
_currentSignInAt = currentSignInAt;
}
public Integer getProjectsLimit() {
return _projectsLimit;
}
public void setProjectsLimit(Integer projectsLimit) {
this._projectsLimit = projectsLimit;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment