Class UpdateBranchRequest

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

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

    • UpdateBranchRequest

      public UpdateBranchRequest()
  • Method Details

    • setApplication

      public UpdateBranchRequest setApplication(String application)
      This is a mandatory parameter. Example value: "my_application"
    • getApplication

      public String getApplication()
    • setBranch

      public UpdateBranchRequest setBranch(String branch)
      This is a mandatory parameter. Example value: "branch-2.0"
    • getBranch

      public String getBranch()
    • setName

      public UpdateBranchRequest setName(String name)
      This is a mandatory parameter.
    • getName

      public String getName()
    • setProject

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

      public List<String> getProject()
    • setProjectBranch

      public UpdateBranchRequest 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()