Class ImageInspect
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImageInspect
@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 ImageInspect
extends Object
ImageInspect
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRepoDigestsItem(String repoDigestsItem) addRepoTagsItem(String repoTagsItem) architecture(String architecture) containerConfig(Config containerConfig) dockerVersion(String dockerVersion) booleanstatic ImageInspectCreate an instance of ImageInspect given an JSON stringArchitecture is the hardware CPU architecture that the image runs on.Author is the name of the author that was specified when committing the image, or as specified through MAINTAINER (deprecated) in the Dockerfile.Comment is an optional message that can be set when committing or importing the image.@Valid ConfigGet configContainer is for backwards compat but is basically unused@Valid ConfigGet containerConfigCreated is the date and time at which the image was created, formatted in RFC 3339 nano-seconds (time.RFC3339Nano).DockerVersion is the version of Docker that was used to build the image.@Valid GraphDriverDataGet graphDrivergetId()ID is the content-addressable ID of an image.@Valid MetadataGet metadatagetOs()OS is the Operating System the image is built to run on.OsVersion is the version of the Operating System the image is built to run on (especially for Windows).Parent is the ID of the parent image.RepoDigests is a list of content-addressable digests of locally available image manifests that the image is referenced from.RepoTags is a list of image names/tags in the local image cache that reference this image.@Valid RootFSGet rootFSgetSize()Size is the total size of the image including all layers it is composed of.Variant is the CPU architecture variant (presently ARM-only).VirtualSize is the total size of the image including all layers it is composed of.graphDriver(GraphDriverData graphDriver) inthashCode()repoDigests(List<String> repoDigests) voidsetArchitecture(String architecture) voidvoidsetComment(String comment) voidvoidsetContainer(String container) voidsetContainerConfig(Config containerConfig) voidsetCreated(String created) voidsetDockerVersion(String dockerVersion) voidsetGraphDriver(GraphDriverData graphDriver) voidvoidsetMetadata(Metadata metadata) voidvoidsetOsVersion(String osVersion) voidvoidsetRepoDigests(List<String> repoDigests) voidsetRepoTags(List<String> repoTags) voidvoidvoidsetVariant(String variant) voidsetVirtualSize(Long virtualSize) toJson()Convert an instance of ImageInspect 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_ARCHITECTURE
- See Also:
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CONTAINER
- See Also:
-
SERIALIZED_NAME_CONTAINER_CONFIG
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DOCKER_VERSION
- See Also:
-
SERIALIZED_NAME_GRAPH_DRIVER
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_OS_VERSION
- 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_VARIANT
- See Also:
-
SERIALIZED_NAME_VIRTUAL_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ImageInspect
public ImageInspect()
-
-
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 ImageInspect
-
fromJson
Create an instance of ImageInspect given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImageInspect
- Throws:
IOException- if the JSON string is invalid with respect to ImageInspect
-
architecture
-
getArchitecture
Architecture is the hardware CPU architecture that the image runs on.- Returns:
- architecture
-
setArchitecture
-
author
-
getAuthor
Author is the name of the author that was specified when committing the image, or as specified through MAINTAINER (deprecated) in the Dockerfile.- Returns:
- author
-
setAuthor
-
comment
-
getComment
Comment is an optional message that can be set when committing or importing the image.- Returns:
- comment
-
setComment
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
container
-
getContainer
Container is for backwards compat but is basically unused- Returns:
- container
-
setContainer
-
containerConfig
-
getContainerConfig
Get containerConfig- Returns:
- containerConfig
-
setContainerConfig
-
created
-
getCreated
Created is the date and time at which the image was created, formatted in RFC 3339 nano-seconds (time.RFC3339Nano). This information is only available if present in the image, and omitted otherwise.- Returns:
- created
-
setCreated
-
dockerVersion
-
getDockerVersion
DockerVersion is the version of Docker that was used to build the image. Depending on how the image was created, this field may be empty.- Returns:
- dockerVersion
-
setDockerVersion
-
graphDriver
-
getGraphDriver
Get graphDriver- Returns:
- graphDriver
-
setGraphDriver
-
id
-
getId
ID is the content-addressable ID of an image. This identifier is a content-addressable digest calculated from the image's configuration (which includes the digests of layers used by the image). Note that this digest differs from the `RepoDigests` below, which holds digests of image manifests that reference the image.- Returns:
- id
-
setId
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
os
-
getOs
OS is the Operating System the image is built to run on.- Returns:
- os
-
setOs
-
osVersion
-
getOsVersion
OsVersion is the version of the Operating System the image is built to run on (especially for Windows).- Returns:
- osVersion
-
setOsVersion
-
parent
-
getParent
Parent is the ID of the parent image. Depending on how the image was created, this field may be empty and is only set for images that were built/created locally. This field is empty if the image was pulled from an image registry.- Returns:
- parent
-
setParent
-
repoDigests
-
addRepoDigestsItem
-
getRepoDigests
RepoDigests is a list of content-addressable digests of locally available image manifests that the image is referenced from. Multiple manifests can refer to the same image. These digests are usually only available if the image was either pulled from a registry, or if the image was pushed to a registry, which is when the manifest is generated and its digest calculated.- Returns:
- repoDigests
-
setRepoDigests
-
repoTags
-
addRepoTagsItem
-
getRepoTags
RepoTags is a list of image names/tags in the local image cache that reference this image. Multiple image tags can refer to the same image, and this list may be empty if no tags reference the image, in which case the image is \"untagged\", in which case it can still be referenced by its ID.- Returns:
- repoTags
-
setRepoTags
-
rootFS
-
getRootFS
Get rootFS- Returns:
- rootFS
-
setRootFS
-
size
-
getSize
Size is the total size of the image including all layers it is composed of.- Returns:
- size
-
setSize
-
variant
-
getVariant
Variant is the CPU architecture variant (presently ARM-only).- Returns:
- variant
-
setVariant
-
virtualSize
-
getVirtualSize
VirtualSize is the total size of the image including all layers it is composed of. Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.- Returns:
- virtualSize
-
setVirtualSize
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ImageInspect to an JSON string- Returns:
- JSON string
-