Class Summary
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Summary
@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 Summary
extends Object
Summary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManifestsItem(ManifestSummary manifestsItem) addRepoDigestsItem(String repoDigestsItem) addRepoTagsItem(String repoTagsItem) containers(Long containers) booleanstatic SummaryCreate an instance of Summary given an JSON string@NotNull LongNumber of containers using this image.@NotNull LongDate and time at which the image was created as a Unix timestamp (number of seconds since EPOCH).@NotNull StringgetId()ID is the content-addressable ID of an image.User-defined key/value metadata.@Valid List<@Valid ManifestSummary>Manifests is a list of image manifests available in this image.@NotNull StringID of the parent image.List of content-addressable digests of locally available image manifests that the image is referenced from.List of image names/tags in the local image cache that reference this image.@NotNull LongTotal size of image layers that are shared between this image and other images.@NotNull LonggetSize()Total size of the image including all layers it is composed of.Total size of the image including all layers it is composed of.inthashCode()manifests(List<@Valid ManifestSummary> manifests) putLabelsItem(String key, String labelsItem) repoDigests(List<String> repoDigests) voidsetContainers(Long containers) voidsetCreated(Long created) voidvoidvoidsetManifests(List<@Valid ManifestSummary> manifests) voidsetParentId(String parentId) voidsetRepoDigests(List<String> repoDigests) voidsetRepoTags(List<String> repoTags) voidsetSharedSize(Long sharedSize) voidvoidsetVirtualSize(Long virtualSize) sharedSize(Long sharedSize) toJson()Convert an instance of Summary 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_CONTAINERS
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MANIFESTS
- See Also:
-
SERIALIZED_NAME_PARENT_ID
- See Also:
-
SERIALIZED_NAME_REPO_DIGESTS
- See Also:
-
SERIALIZED_NAME_REPO_TAGS
- See Also:
-
SERIALIZED_NAME_SHARED_SIZE
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_VIRTUAL_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Summary
public Summary()
-
-
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 Summary
-
fromJson
Create an instance of Summary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Summary
- Throws:
IOException- if the JSON string is invalid with respect to Summary
-
containers
-
getContainers
Number of containers using this image. Includes both stopped and running containers. This size is not calculated by default, and depends on which API endpoint is used. `-1` indicates that the value has not been set / calculated.- Returns:
- containers
-
setContainers
-
created
-
getCreated
Date and time at which the image was created as a Unix timestamp (number of seconds since EPOCH).- Returns:
- created
-
setCreated
-
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
-
labels
-
putLabelsItem
-
getLabels
User-defined key/value metadata.- Returns:
- labels
-
setLabels
-
manifests
-
addManifestsItem
-
getManifests
Manifests is a list of image manifests available in this image. It provides a more detailed view of the platform-specific image manifests or other image-attached data like build attestations. WARNING: This is experimental and may change at any time without any backward compatibility.- Returns:
- manifests
-
setManifests
-
parentId
-
getParentId
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:
- parentId
-
setParentId
-
repoDigests
-
addRepoDigestsItem
-
getRepoDigests
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
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
-
size
-
getSize
Total size of the image including all layers it is composed of.- Returns:
- size
-
setSize
-
virtualSize
-
getVirtualSize
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 Summary to an JSON string- Returns:
- JSON string
-