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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates if branch is enabled or not.booleangetName()inthashCode()Indicates if the configured branch is valid, that is, if the configured branch actually exists currently.The configured branch.voidsetEnabled(Boolean enabled) voidsetIsValid(Boolean isValid) voidvoidsetUseMainbranch(Boolean useMainbranch) toString()useMainbranch(Boolean useMainbranch) Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`).
-
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
-
setIsValid
-
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
-
setName
-
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
-
setUseMainbranch
-
enabled
Indicates if branch is enabled or not. -
getEnabled
-
setEnabled
-
equals
-
hashCode
public int hashCode() -
toString
-