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_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)IntegergetParentNumber()when cherry-picking a merge commit, the parent number (starting from 1) relative to which to perform the diff.StringgetRef()the commit to cherry-pick, given by a refinthashCode()CherryPickCreationparentNumber(Integer parentNumber)CherryPickCreationref(String ref)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
-
-
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) relative to which to perform the diff. The destination branch is parent 1, which is the default behaviour.- Returns:
- parentNumber
-
setParentNumber
public void setParentNumber(Integer parentNumber)
-
-