Package io.lakefs.clients.api.model
Class RevertCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.RevertCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RevertCreation extends ObjectRevertCreation
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ALLOW_EMPTYstatic StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_PARENT_NUMBERstatic StringSERIALIZED_NAME_REF
-
Constructor Summary
Constructors Constructor Description RevertCreation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RevertCreationallowEmpty(Boolean allowEmpty)booleanequals(Object o)RevertCreationforce(Boolean force)BooleangetAllowEmpty()allow empty commit (revert without changes)BooleangetForce()Get forceIntegergetParentNumber()when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert.StringgetRef()the commit to revert, given by a refinthashCode()RevertCreationparentNumber(Integer parentNumber)RevertCreationref(String ref)voidsetAllowEmpty(Boolean allowEmpty)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
-
SERIALIZED_NAME_ALLOW_EMPTY
public static final String SERIALIZED_NAME_ALLOW_EMPTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
ref
public RevertCreation ref(String ref)
-
getRef
@Nonnull public String getRef()
the commit to revert, given by a ref- Returns:
- ref
-
setRef
public void setRef(String ref)
-
parentNumber
public RevertCreation parentNumber(Integer parentNumber)
-
getParentNumber
@Nonnull public Integer getParentNumber()
when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert.- Returns:
- parentNumber
-
setParentNumber
public void setParentNumber(Integer parentNumber)
-
force
public RevertCreation force(Boolean force)
-
getForce
@Nullable public Boolean getForce()
Get force- Returns:
- force
-
setForce
public void setForce(Boolean force)
-
allowEmpty
public RevertCreation allowEmpty(Boolean allowEmpty)
-
getAllowEmpty
@Nullable public Boolean getAllowEmpty()
allow empty commit (revert without changes)- Returns:
- allowEmpty
-
setAllowEmpty
public void setAllowEmpty(Boolean allowEmpty)
-
-