Package io.lakefs.clients.api.model
Class CommitCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.CommitCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CommitCreation extends ObjectCommitCreation
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ALLOW_EMPTYstatic StringSERIALIZED_NAME_DATEstatic StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_METADATA
-
Constructor Summary
Constructors Constructor Description CommitCreation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommitCreationallowEmpty(Boolean allowEmpty)CommitCreationdate(Long date)booleanequals(Object o)CommitCreationforce(Boolean force)BooleangetAllowEmpty()sets whether a commit can contain no changesLonggetDate()set date to override creation date in the commit (Unix Epoch in seconds)BooleangetForce()Get forceStringgetMessage()Get messageMap<String,String>getMetadata()Get metadatainthashCode()CommitCreationmessage(String message)CommitCreationmetadata(Map<String,String> metadata)CommitCreationputMetadataItem(String key, String metadataItem)voidsetAllowEmpty(Boolean allowEmpty)voidsetDate(Long date)voidsetForce(Boolean force)voidsetMessage(String message)voidsetMetadata(Map<String,String> metadata)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE
public static final String SERIALIZED_NAME_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOW_EMPTY
public static final String SERIALIZED_NAME_ALLOW_EMPTY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE
public static final String SERIALIZED_NAME_FORCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
message
public CommitCreation message(String message)
-
getMessage
@Nonnull public String getMessage()
Get message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
metadata
public CommitCreation metadata(Map<String,String> metadata)
-
putMetadataItem
public CommitCreation putMetadataItem(String key, String metadataItem)
-
date
public CommitCreation date(Long date)
-
getDate
@Nullable public Long getDate()
set date to override creation date in the commit (Unix Epoch in seconds)- Returns:
- date
-
setDate
public void setDate(Long date)
-
allowEmpty
public CommitCreation allowEmpty(Boolean allowEmpty)
-
getAllowEmpty
@Nullable public Boolean getAllowEmpty()
sets whether a commit can contain no changes- Returns:
- allowEmpty
-
setAllowEmpty
public void setAllowEmpty(Boolean allowEmpty)
-
force
public CommitCreation force(Boolean force)
-
getForce
@Nullable public Boolean getForce()
Get force- Returns:
- force
-
setForce
public void setForce(Boolean force)
-
-