File tree Expand file tree Collapse file tree
src/main/java/org/gitlab/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1271,7 +1271,8 @@ public GitlabProject createProject(GitlabProject project) throws IOException {
12711271 .appendIf ("request_access_enabled" , project .isRequestAccessEnabled ())
12721272 .appendIf ("repository_storage" , project .getRepositoryStorage ())
12731273 .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 ());
12751276
12761277 GitlabNamespace namespace = project .getNamespace ();
12771278 if (namespace != null ) {
Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ public class GitlabProject {
131131 @ JsonProperty ("import_status" )
132132 private String importStatus ;
133133
134+ @ JsonProperty ("initialize_with_readme" )
135+ private Boolean initializeWithReadme ;
136+
134137 public Integer getId () {
135138 return id ;
136139 }
@@ -475,6 +478,14 @@ public void setPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkE
475478 this .printingMergeRequestLinkEnabled = printingMergeRequestLinkEnabled ;
476479 }
477480
481+ public Boolean isInitializeWithReadme () {
482+ return initializeWithReadme ;
483+ }
484+
485+ public void setInitializeWithReadme (Boolean initializeWithReadme ) {
486+ this .initializeWithReadme = initializeWithReadme ;
487+ }
488+
478489 @ Override
479490 public boolean equals (Object o ) {
480491 if (this == o ) return true ;
You can’t perform that action at this time.
0 commit comments