Class BranchingModelSettingsAllOfProduction

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

@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 BranchingModelSettingsAllOfProduction extends Object
  • Constructor Details

    • BranchingModelSettingsAllOfProduction

      public BranchingModelSettingsAllOfProduction()
  • Method Details

    • isValid

      Indicates if the configured branch is valid, that is, if the configured branch actually exists currently. Is always `true` when `use_mainbranch` is `true` (even if the main branch does not exist). This field is read-only. This field is ignored when updating/creating settings.
    • getIsValid

      public Boolean getIsValid()
    • setIsValid

      public void setIsValid(Boolean isValid)
    • name

      The configured branch. It must be `null` when `use_mainbranch` is `true`. Otherwise it must be a non-empty value. It is possible for the configured branch to not exist (e.g. it was deleted after the settings are set). In this case `is_valid` will be `false`. The branch must exist when updating/setting the `name` or an error will occur.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • useMainbranch

      public BranchingModelSettingsAllOfProduction useMainbranch(Boolean useMainbranch)
      Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`). When `true` the `name` must be `null` or not provided. When `false` the `name` must contain a non-empty branch name.
    • getUseMainbranch

      public Boolean getUseMainbranch()
    • setUseMainbranch

      public void setUseMainbranch(Boolean useMainbranch)
    • enabled

      Indicates if branch is enabled or not.
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • 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