Class History
java.lang.Object
io.github.alersrt.pod4j.openapi.model.History
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class History
extends Object
History
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreated(OffsetDateTime created) emptyLayer(Boolean emptyLayer) booleanstatic HistoryCreate an instance of History given an JSON stringAuthor is the author of the build point.Comment is a custom message set when creating the layer.Created is the combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6.CreatedBy is the command which created the layer.EmptyLayer is used to mark if the history item created a filesystem diff.inthashCode()voidvoidsetComment(String comment) voidsetCreated(OffsetDateTime created) voidsetCreatedBy(String createdBy) voidsetEmptyLayer(Boolean emptyLayer) toJson()Convert an instance of History to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_EMPTY_LAYER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
History
public History()
-
-
Method Details
-
author
-
getAuthor
Author is the author of the build point.- Returns:
- author
-
setAuthor
-
comment
-
getComment
Comment is a custom message set when creating the layer.- Returns:
- comment
-
setComment
-
created
-
getCreated
Created is the combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6.- Returns:
- created
-
setCreated
-
createdBy
-
getCreatedBy
CreatedBy is the command which created the layer.- Returns:
- createdBy
-
setCreatedBy
-
emptyLayer
-
getEmptyLayer
EmptyLayer is used to mark if the history item created a filesystem diff.- Returns:
- emptyLayer
-
setEmptyLayer
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to History
-
fromJson
Create an instance of History given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of History
- Throws:
IOException- if the JSON string is invalid with respect to History
-
toJson
Convert an instance of History to an JSON string- Returns:
- JSON string
-