Package io.lakefs.clients.api.model
Class CommitRecordCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.CommitRecordCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CommitRecordCreation extends ObjectCommitRecordCreation
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_COMMIT_IDstatic StringSERIALIZED_NAME_COMMITTERstatic StringSERIALIZED_NAME_CREATION_DATEstatic StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_GENERATIONstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_METARANGE_IDstatic StringSERIALIZED_NAME_PARENTSstatic StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description CommitRecordCreation()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_COMMIT_ID
public static final String SERIALIZED_NAME_COMMIT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMITTER
public static final String SERIALIZED_NAME_COMMITTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METARANGE_ID
public static final String SERIALIZED_NAME_METARANGE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATION_DATE
public static final String SERIALIZED_NAME_CREATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENTS
public static final String SERIALIZED_NAME_PARENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GENERATION
public static final String SERIALIZED_NAME_GENERATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE
public static final String SERIALIZED_NAME_FORCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
commitId
public CommitRecordCreation commitId(String commitId)
-
getCommitId
@Nonnull public String getCommitId()
id of the commit record- Returns:
- commitId
-
setCommitId
public void setCommitId(String commitId)
-
version
public CommitRecordCreation version(Integer version)
-
getVersion
@Nonnull public Integer getVersion()
version of the commit record minimum: 0 maximum: 1- Returns:
- version
-
setVersion
public void setVersion(Integer version)
-
committer
public CommitRecordCreation committer(String committer)
-
getCommitter
@Nonnull public String getCommitter()
committer of the commit record- Returns:
- committer
-
setCommitter
public void setCommitter(String committer)
-
message
public CommitRecordCreation message(String message)
-
getMessage
@Nonnull public String getMessage()
message of the commit record- Returns:
- message
-
setMessage
public void setMessage(String message)
-
metarangeId
public CommitRecordCreation metarangeId(String metarangeId)
-
getMetarangeId
@Nonnull public String getMetarangeId()
metarange_id of the commit record- Returns:
- metarangeId
-
setMetarangeId
public void setMetarangeId(String metarangeId)
-
creationDate
public CommitRecordCreation creationDate(Long creationDate)
-
getCreationDate
@Nonnull public Long getCreationDate()
Unix Epoch in seconds- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(Long creationDate)
-
parents
public CommitRecordCreation parents(List<String> parents)
-
addParentsItem
public CommitRecordCreation addParentsItem(String parentsItem)
-
metadata
public CommitRecordCreation metadata(Map<String,String> metadata)
-
putMetadataItem
public CommitRecordCreation putMetadataItem(String key, String metadataItem)
-
getMetadata
@Nullable public Map<String,String> getMetadata()
metadata of the commit record- Returns:
- metadata
-
generation
public CommitRecordCreation generation(Long generation)
-
getGeneration
@Nonnull public Long getGeneration()
generation of the commit record- Returns:
- generation
-
setGeneration
public void setGeneration(Long generation)
-
force
public CommitRecordCreation force(Boolean force)
-
getForce
@Nullable public Boolean getForce()
Get force- Returns:
- force
-
setForce
public void setForce(Boolean force)
-
-