Class HistoryResponseItem
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HistoryResponseItem
@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 HistoryResponseItem
extends Object
HistoryResponseItem individual image layer information in response to ImageHistory operation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) booleanstatic HistoryResponseItemCreate an instance of HistoryResponseItem given an JSON string@NotNull Stringcomment@NotNull Longcreated@NotNull Stringcreated by@NotNull StringgetId()Id@NotNull LonggetSize()sizegetTags()tagsinthashCode()voidsetComment(String comment) voidsetCreated(Long created) voidsetCreatedBy(String createdBy) voidvoidvoidtoJson()Convert an instance of HistoryResponseItem 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
-
HistoryResponseItem
public HistoryResponseItem()
-
-
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 HistoryResponseItem
-
fromJson
Create an instance of HistoryResponseItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of HistoryResponseItem
- Throws:
IOException- if the JSON string is invalid with respect to HistoryResponseItem
-
comment
-
getComment
comment- Returns:
- comment
-
setComment
-
created
-
getCreated
created- Returns:
- created
-
setCreated
-
createdBy
-
getCreatedBy
created by- Returns:
- createdBy
-
setCreatedBy
-
id
-
getId
Id- Returns:
- id
-
setId
-
size
-
getSize
size- Returns:
- size
-
setSize
-
tags
-
addTagsItem
-
getTags
tags- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of HistoryResponseItem to an JSON string- Returns:
- JSON string
-