Class HistoryResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HistoryResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class HistoryResponse
extends Object
HistoryResponse provides details on image layers
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-
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
-
toJson
Convert an instance of HistoryResponse to an JSON string- Returns:
- JSON string
-