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 4
4
5
5
@ XmlRootElement
6
6
public class User extends AbstractUser <User > {
7
+
7
8
private String externUid ;
8
9
9
10
public void setExternUid (String externUid ) {
@@ -14,23 +15,31 @@ public String getExternUid() {
14
15
return this .externUid ;
15
16
}
16
17
18
+ public User withExternUid (String externUid ) {
19
+ setExternUid (externUid );
20
+ return this ;
21
+ }
22
+
17
23
/**
24
+ * Fluent method to set the projects_limit setting.
25
+ *
26
+ * @param projectsLimit the value for the projects_limit setting
18
27
* @deprecated Replaced by {@link #withProjectsLimit(Integer)}
19
- * @see #withProjectsLimit(Integer)
28
+ * @see #withProjectsLimit(Integer)
29
+ * @return the value of this instance
20
30
*/
21
31
@ Deprecated
22
32
public User withProjectLimit (Integer projectsLimit ) {
23
33
return withProjectsLimit (projectsLimit );
24
34
}
25
-
26
- public User withExternUid (String externUid ) {
27
- setExternUid (externUid );
28
- return this ;
29
- }
30
-
35
+
31
36
/**
37
+ * Fluent method to set the shared_projects_minutes_limit setting.
38
+ *
39
+ * @param sharedRunnersMinuteLimit the value for the shared_projects_minutes_limit setting
32
40
* @deprecated Replaced by {@link #withSharedRunnersMinutesLimit(Integer)}
33
- * @see #withSharedRunnersMinutesLimit(Integer)
41
+ * @see #withSharedRunnersMinutesLimit(Integer)
42
+ * @return the value of this instance
34
43
*/
35
44
@ Deprecated
36
45
public User withSharedRunnersMinuteLimit (Integer sharedRunnersMinuteLimit ) {
You can’t perform that action at this time.
0 commit comments