Class LibpodImageSummary
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LibpodImageSummary
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LibpodImageSummary
extends Object
implements Serializable
LibpodImageSummary
- See Also:
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHistoryItem(String historyItem) addNamesItem(String namesItem) addRepoDigestsItem(String repoDigestsItem) addRepoTagsItem(String repoTagsItem) containers(Long containers) booleanstatic LibpodImageSummaryCreate an instance of LibpodImageSummary given an JSON stringgetArch()Podman extensionsGet containersGet createdGet danglingGet digestGet historygetId()Get idIsManifestList is a ptr so we can distinguish between a true json empty response and false.Get labelsgetNames()Get namesgetOs()Get osGet parentIdGet readOnlyGet repoDigestsGet repoTagsGet sharedSizegetSize()Get sizeGet virtualSizeinthashCode()isManifestList(Boolean isManifestList) putLabelsItem(String key, String labelsItem) repoDigests(List<String> repoDigests) voidvoidsetContainers(Long containers) voidsetCreated(Long created) voidsetDangling(Boolean dangling) voidvoidsetHistory(List<String> history) voidvoidsetIsManifestList(Boolean isManifestList) voidvoidvoidvoidsetParentId(String parentId) voidsetReadOnly(Boolean readOnly) voidsetRepoDigests(List<String> repoDigests) voidsetRepoTags(List<String> repoTags) voidsetSharedSize(Long sharedSize) voidvoidsetVirtualSize(Long virtualSize) sharedSize(Long sharedSize) toJson()Convert an instance of LibpodImageSummary to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvirtualSize(Long virtualSize)
-
Field Details
-
SERIALIZED_NAME_ARCH
- See Also:
-
SERIALIZED_NAME_CONTAINERS
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DANGLING
- See Also:
-
SERIALIZED_NAME_DIGEST
- See Also:
-
SERIALIZED_NAME_HISTORY
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IS_MANIFEST_LIST
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAMES
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_PARENT_ID
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- 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
-
LibpodImageSummary
public LibpodImageSummary()
-
-
Method Details
-
arch
-
getArch
Podman extensions- Returns:
- arch
-
setArch
-
containers
-
getContainers
Get containers- Returns:
- containers
-
setContainers
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
dangling
-
getDangling
Get dangling- Returns:
- dangling
-
setDangling
-
digest
-
getDigest
Get digest- Returns:
- digest
-
setDigest
-
history
-
addHistoryItem
-
getHistory
Get history- Returns:
- history
-
setHistory
-
id
-
getId
Get id- Returns:
- id
-
setId
-
isManifestList
-
getIsManifestList
IsManifestList is a ptr so we can distinguish between a true json empty response and false. the docker compat side needs to return empty; where as the libpod side needs a value of true or false- Returns:
- isManifestList
-
setIsManifestList
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
names
-
addNamesItem
-
getNames
Get names- Returns:
- names
-
setNames
-
os
-
getOs
Get os- Returns:
- os
-
setOs
-
parentId
-
getParentId
Get parentId- Returns:
- parentId
-
setParentId
-
readOnly
-
getReadOnly
Get readOnly- Returns:
- readOnly
-
setReadOnly
-
repoDigests
-
addRepoDigestsItem
-
getRepoDigests
Get repoDigests- Returns:
- repoDigests
-
setRepoDigests
-
repoTags
-
addRepoTagsItem
-
getRepoTags
Get repoTags- Returns:
- repoTags
-
setRepoTags
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
virtualSize
-
getVirtualSize
Get virtualSize- Returns:
- virtualSize
-
setVirtualSize
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to LibpodImageSummary
-
fromJson
Create an instance of LibpodImageSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LibpodImageSummary
- Throws:
IOException- if the JSON string is invalid with respect to LibpodImageSummary
-
toJson
Convert an instance of LibpodImageSummary to an JSON string- Returns:
- JSON string
-