Class ImageData
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImageData
@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 ImageData
extends Object
ImageData
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHistoryItem(History historyItem) addNamesHistoryItem(String namesHistoryItem) addRepoDigestsItem(String repoDigestsItem) addRepoTagsItem(String repoTagsItem) annotations(Map<String, String> annotations) architecture(String architecture) config(ImageConfig config) created(OffsetDateTime created) booleanstatic ImageDataCreate an instance of ImageData given an JSON stringGet annotationsGet architectureGet authorGet comment@Valid ImageConfigGet config@Valid OffsetDateTimeGet createdThe following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.@Valid DriverDataGet graphDriver@Valid Schema2HealthConfigGet healthcheckGet historygetId()Get idGet labelsGet manifestTypeGet namesHistorygetOs()Get osGet parentGet repoDigestsGet repoTags@Valid RootFSGet rootFSgetSize()Get sizegetUser()Get userGet versionGet virtualSizegraphDriver(DriverData graphDriver) inthashCode()healthcheck(Schema2HealthConfig healthcheck) manifestType(String manifestType) namesHistory(List<String> namesHistory) putAnnotationsItem(String key, String annotationsItem) putLabelsItem(String key, String labelsItem) repoDigests(List<String> repoDigests) voidsetAnnotations(Map<String, String> annotations) voidsetArchitecture(String architecture) voidvoidsetComment(String comment) voidsetConfig(ImageConfig config) voidsetCreated(OffsetDateTime created) voidvoidsetGraphDriver(DriverData graphDriver) voidsetHealthcheck(Schema2HealthConfig healthcheck) voidsetHistory(List<@Valid History> history) voidvoidvoidsetManifestType(String manifestType) voidsetNamesHistory(List<String> namesHistory) voidvoidvoidsetRepoDigests(List<String> repoDigests) voidsetRepoTags(List<String> repoTags) voidvoidvoidvoidsetVersion(String version) voidsetVirtualSize(Long virtualSize) toJson()Convert an instance of ImageData to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvirtualSize(Long virtualSize)
-
Field Details
-
SERIALIZED_NAME_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_ARCHITECTURE
- See Also:
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DIGEST
- See Also:
-
SERIALIZED_NAME_GRAPH_DRIVER
- See Also:
-
SERIALIZED_NAME_HEALTHCHECK
- See Also:
-
SERIALIZED_NAME_HISTORY
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MANIFEST_TYPE
- See Also:
-
SERIALIZED_NAME_NAMES_HISTORY
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_PARENT
- See Also:
-
SERIALIZED_NAME_REPO_DIGESTS
- See Also:
-
SERIALIZED_NAME_REPO_TAGS
- See Also:
-
SERIALIZED_NAME_ROOT_F_S
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_VIRTUAL_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ImageData
public ImageData()
-
-
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 ImageData
-
fromJson
Create an instance of ImageData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImageData
- Throws:
IOException- if the JSON string is invalid with respect to ImageData
-
annotations
-
putAnnotationsItem
-
getAnnotations
Get annotations- Returns:
- annotations
-
setAnnotations
-
architecture
-
getArchitecture
Get architecture- Returns:
- architecture
-
setArchitecture
-
author
-
getAuthor
Get author- Returns:
- author
-
setAuthor
-
comment
-
getComment
Get comment- Returns:
- comment
-
setComment
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
digest
-
getDigest
The following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.- Returns:
- digest
-
setDigest
-
graphDriver
-
getGraphDriver
Get graphDriver- Returns:
- graphDriver
-
setGraphDriver
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
history
-
addHistoryItem
-
getHistory
Get history- Returns:
- history
-
setHistory
-
id
-
getId
Get id- Returns:
- id
-
setId
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
manifestType
-
getManifestType
Get manifestType- Returns:
- manifestType
-
setManifestType
-
namesHistory
-
addNamesHistoryItem
-
getNamesHistory
Get namesHistory- Returns:
- namesHistory
-
setNamesHistory
-
os
-
getOs
Get os- Returns:
- os
-
setOs
-
parent
-
getParent
Get parent- Returns:
- parent
-
setParent
-
repoDigests
-
addRepoDigestsItem
-
getRepoDigests
Get repoDigests- Returns:
- repoDigests
-
setRepoDigests
-
repoTags
-
addRepoTagsItem
-
getRepoTags
Get repoTags- Returns:
- repoTags
-
setRepoTags
-
rootFS
-
getRootFS
Get rootFS- Returns:
- rootFS
-
setRootFS
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
virtualSize
-
getVirtualSize
Get virtualSize- Returns:
- virtualSize
-
setVirtualSize
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ImageData to an JSON string- Returns:
- JSON string
-