Package io.lakefs.clients.api.model
Class CherryPickCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.CherryPickCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CherryPickCreation extends ObjectCherryPickCreation
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_PARENT_NUMBERstatic StringSERIALIZED_NAME_REF
-
Constructor Summary
Constructors Constructor Description CherryPickCreation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CherryPickCreationforce(Boolean force)BooleangetForce()Get forceIntegergetParentNumber()When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff.StringgetRef()the commit to cherry-pick, given by a refinthashCode()CherryPickCreationparentNumber(Integer parentNumber)CherryPickCreationref(String ref)voidsetForce(Boolean force)voidsetParentNumber(Integer parentNumber)voidsetRef(String ref)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_REF
public static final String SERIALIZED_NAME_REF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENT_NUMBER
public static final String SERIALIZED_NAME_PARENT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE
public static final String SERIALIZED_NAME_FORCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
ref
public CherryPickCreation ref(String ref)
-
getRef
@Nonnull public String getRef()
the commit to cherry-pick, given by a ref- Returns:
- ref
-
setRef
public void setRef(String ref)
-
parentNumber
public CherryPickCreation parentNumber(Integer parentNumber)
-
getParentNumber
@Nullable public Integer getParentNumber()
When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1.- Returns:
- parentNumber
-
setParentNumber
public void setParentNumber(Integer parentNumber)
-
force
public CherryPickCreation force(Boolean force)
-
getForce
@Nullable public Boolean getForce()
Get force- Returns:
- force
-
setForce
public void setForce(Boolean force)
-
-