File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
src/main/java/org/gitlab4j/api/models Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 44
55@ XmlRootElement
66public class User extends AbstractUser <User > {
7+
78 private String externUid ;
89
910 public void setExternUid (String externUid ) {
@@ -14,23 +15,31 @@ public String getExternUid() {
1415 return this .externUid ;
1516 }
1617
18+ public User withExternUid (String externUid ) {
19+ setExternUid (externUid );
20+ return this ;
21+ }
22+
1723 /**
24+ * Fluent method to set the projects_limit setting.
25+ *
26+ * @param projectsLimit the value for the projects_limit setting
1827 * @deprecated Replaced by {@link #withProjectsLimit(Integer)}
19- * @see #withProjectsLimit(Integer)
28+ * @see #withProjectsLimit(Integer)
29+ * @return the value of this instance
2030 */
2131 @ Deprecated
2232 public User withProjectLimit (Integer projectsLimit ) {
2333 return withProjectsLimit (projectsLimit );
2434 }
25-
26- public User withExternUid (String externUid ) {
27- setExternUid (externUid );
28- return this ;
29- }
30-
35+
3136 /**
37+ * Fluent method to set the shared_projects_minutes_limit setting.
38+ *
39+ * @param sharedRunnersMinuteLimit the value for the shared_projects_minutes_limit setting
3240 * @deprecated Replaced by {@link #withSharedRunnersMinutesLimit(Integer)}
33- * @see #withSharedRunnersMinutesLimit(Integer)
41+ * @see #withSharedRunnersMinutesLimit(Integer)
42+ * @return the value of this instance
3443 */
3544 @ Deprecated
3645 public User withSharedRunnersMinuteLimit (Integer sharedRunnersMinuteLimit ) {
You can’t perform that action at this time.
0 commit comments