Class HistoryResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HistoryResponse
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class HistoryResponse
extends Object
implements Serializable
HistoryResponse provides details on image layers
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) booleanstatic HistoryResponseCreate an instance of HistoryResponse given an JSON stringGet commentGet createdGet createdBygetId()Get idgetSize()Get sizegetTags()Get tagsinthashCode()voidsetComment(String comment) voidsetCreated(Long created) voidsetCreatedBy(String createdBy) voidvoidvoidtoJson()Convert an instance of HistoryResponse to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
HistoryResponse
public HistoryResponse()
-
-
Method Details
-
comment
-
getComment
Get comment- Returns:
- comment
-
setComment
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
createdBy
-
getCreatedBy
Get createdBy- Returns:
- createdBy
-
setCreatedBy
-
id
-
getId
Get id- Returns:
- id
-
setId
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
tags
-
addTagsItem
-
getTags
Get tags- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to HistoryResponse
-
fromJson
Create an instance of HistoryResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of HistoryResponse
- Throws:
IOException- if the JSON string is invalid with respect to HistoryResponse
-
toJson
Convert an instance of HistoryResponse to an JSON string- Returns:
- JSON string
-