Class BranchingModelAllOfProduction

java.lang.Object
se.bjurr.bitbucketcloud.gen.model.BranchingModelAllOfProduction

@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]", comments="Generator version: 7.14.0") public class BranchingModelAllOfProduction extends Object
  • Constructor Details

    • BranchingModelAllOfProduction

      public BranchingModelAllOfProduction()
    • BranchingModelAllOfProduction

      public BranchingModelAllOfProduction(String name, Boolean useMainbranch)
  • Method Details

    • name

      Name of the target branch. Will be listed here even when the target branch does not exist. Will be `null` if targeting the main branch and the repository is empty.
    • getName

      @NotNull public @NotNull String getName()
    • setName

      public void setName(String name)
    • useMainbranch

      public BranchingModelAllOfProduction useMainbranch(Boolean useMainbranch)
      Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`).
    • getUseMainbranch

      @NotNull public @NotNull Boolean getUseMainbranch()
    • setUseMainbranch

      public void setUseMainbranch(Boolean useMainbranch)
    • branch

      public BranchingModelAllOfProduction branch(Branch branch)
    • getBranch

      @Valid public @Valid Branch getBranch()
    • setBranch

      public void setBranch(Branch branch)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object