File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
src/main/java/org/gitlab/api Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1271,7 +1271,8 @@ public GitlabProject createProject(GitlabProject project) throws IOException {
1271
1271
.appendIf ("request_access_enabled" , project .isRequestAccessEnabled ())
1272
1272
.appendIf ("repository_storage" , project .getRepositoryStorage ())
1273
1273
.appendIf ("approvals_before_merge" , project .getApprovalsBeforeMerge ())
1274
- .appendIf ("printing_merge_request_link_enabled" , project .isPrintingMergeRequestLinkEnabled ());
1274
+ .appendIf ("printing_merge_request_link_enabled" , project .isPrintingMergeRequestLinkEnabled ())
1275
+ .appendIf ("initialize_with_readme" ,project .isInitializeWithReadme ());
1275
1276
1276
1277
GitlabNamespace namespace = project .getNamespace ();
1277
1278
if (namespace != null ) {
Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ public class GitlabProject {
131
131
@ JsonProperty ("import_status" )
132
132
private String importStatus ;
133
133
134
+ @ JsonProperty ("initialize_with_readme" )
135
+ private Boolean initializeWithReadme ;
136
+
134
137
public Integer getId () {
135
138
return id ;
136
139
}
@@ -475,6 +478,14 @@ public void setPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkE
475
478
this .printingMergeRequestLinkEnabled = printingMergeRequestLinkEnabled ;
476
479
}
477
480
481
+ public Boolean isInitializeWithReadme () {
482
+ return initializeWithReadme ;
483
+ }
484
+
485
+ public void setInitializeWithReadme (Boolean initializeWithReadme ) {
486
+ this .initializeWithReadme = initializeWithReadme ;
487
+ }
488
+
478
489
@ Override
479
490
public boolean equals (Object o ) {
480
491
if (this == o ) return true ;
You can’t perform that action at this time.
0 commit comments