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:
  • Field Details

  • Constructor Details

    • LibpodImageSummary

      public LibpodImageSummary()
  • Method Details

    • arch

      public LibpodImageSummary arch(String arch)
    • getArch

      @Nullable public String getArch()
      Podman extensions
      Returns:
      arch
    • setArch

      public void setArch(String arch)
    • containers

      public LibpodImageSummary containers(Long containers)
    • getContainers

      @Nullable public Long getContainers()
      Get containers
      Returns:
      containers
    • setContainers

      public void setContainers(Long containers)
    • created

      public LibpodImageSummary created(Long created)
    • getCreated

      @Nullable public Long getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(Long created)
    • dangling

      public LibpodImageSummary dangling(Boolean dangling)
    • getDangling

      @Nullable public Boolean getDangling()
      Get dangling
      Returns:
      dangling
    • setDangling

      public void setDangling(Boolean dangling)
    • digest

      public LibpodImageSummary digest(String digest)
    • getDigest

      @Nullable public String getDigest()
      Get digest
      Returns:
      digest
    • setDigest

      public void setDigest(String digest)
    • history

      public LibpodImageSummary history(List<String> history)
    • addHistoryItem

      public LibpodImageSummary addHistoryItem(String historyItem)
    • getHistory

      @Nullable public List<String> getHistory()
      Get history
      Returns:
      history
    • setHistory

      public void setHistory(List<String> history)
    • id

      public LibpodImageSummary id(String id)
    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(String id)
    • isManifestList

      public LibpodImageSummary isManifestList(Boolean isManifestList)
    • getIsManifestList

      @Nullable public Boolean 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

      public void setIsManifestList(Boolean isManifestList)
    • labels

      public LibpodImageSummary labels(Map<String,String> labels)
    • putLabelsItem

      public LibpodImageSummary putLabelsItem(String key, String labelsItem)
    • getLabels

      @Nullable public Map<String,String> getLabels()
      Get labels
      Returns:
      labels
    • setLabels

      public void setLabels(Map<String,String> labels)
    • names

      public LibpodImageSummary names(List<String> names)
    • addNamesItem

      public LibpodImageSummary addNamesItem(String namesItem)
    • getNames

      @Nullable public List<String> getNames()
      Get names
      Returns:
      names
    • setNames

      public void setNames(List<String> names)
    • os

      public LibpodImageSummary os(String os)
    • getOs

      @Nullable public String getOs()
      Get os
      Returns:
      os
    • setOs

      public void setOs(String os)
    • parentId

      public LibpodImageSummary parentId(String parentId)
    • getParentId

      @Nullable public String getParentId()
      Get parentId
      Returns:
      parentId
    • setParentId

      public void setParentId(String parentId)
    • readOnly

      public LibpodImageSummary readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      Get readOnly
      Returns:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • repoDigests

      public LibpodImageSummary repoDigests(List<String> repoDigests)
    • addRepoDigestsItem

      public LibpodImageSummary addRepoDigestsItem(String repoDigestsItem)
    • getRepoDigests

      @Nullable public List<String> getRepoDigests()
      Get repoDigests
      Returns:
      repoDigests
    • setRepoDigests

      public void setRepoDigests(List<String> repoDigests)
    • repoTags

      public LibpodImageSummary repoTags(List<String> repoTags)
    • addRepoTagsItem

      public LibpodImageSummary addRepoTagsItem(String repoTagsItem)
    • getRepoTags

      @Nullable public List<String> getRepoTags()
      Get repoTags
      Returns:
      repoTags
    • setRepoTags

      public void setRepoTags(List<String> repoTags)
    • sharedSize

      public LibpodImageSummary sharedSize(Long sharedSize)
    • getSharedSize

      @Nullable public Long getSharedSize()
      Get sharedSize
      Returns:
      sharedSize
    • setSharedSize

      public void setSharedSize(Long sharedSize)
    • size

      public LibpodImageSummary size(Long size)
    • getSize

      @Nullable public Long getSize()
      Get size
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • virtualSize

      public LibpodImageSummary virtualSize(Long virtualSize)
    • getVirtualSize

      @Nullable public Long getVirtualSize()
      Get virtualSize
      Returns:
      virtualSize
    • setVirtualSize

      public void setVirtualSize(Long virtualSize)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static LibpodImageSummary fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of LibpodImageSummary to an JSON string
      Returns:
      JSON string