Class CreateBranchRequest

java.lang.Object
org.sonarqube.ws.client.applications.CreateBranchRequest

@Generated("sonar-ws-generator") public class CreateBranchRequest extends Object
This is part of the internal API. This is a POST request.
Since:
7.3
See Also:
  • Constructor Details

    • CreateBranchRequest

      public CreateBranchRequest()
  • Method Details

    • setApplication

      public CreateBranchRequest setApplication(String application)
      This is a mandatory parameter.
    • getApplication

      public String getApplication()
    • setBranch

      public CreateBranchRequest setBranch(String branch)
      This is a mandatory parameter.
    • getBranch

      public String getBranch()
    • setProject

      public CreateBranchRequest setProject(List<String> projects)
      This is a mandatory parameter. Example value: "project=firstProjectKey&project=secondProjectKey&project=thirdProjectKey"
    • getProject

      public List<String> getProject()
    • setProjectBranch

      public CreateBranchRequest setProjectBranch(List<String> projectBranches)
      This is a mandatory parameter. Example value: "projectBranch=&projectBranch=branch-2.0&projectBranch=branch-2.1"
    • getProjectBranch

      public List<String> getProjectBranch()