Class ImageData

java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImageData
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ImageData extends Object implements Serializable
ImageData
See Also:
  • Field Details

  • Constructor Details

    • ImageData

      public ImageData()
  • Method Details

    • annotations

      public ImageData annotations(Map<String,String> annotations)
    • putAnnotationsItem

      public ImageData putAnnotationsItem(String key, String annotationsItem)
    • getAnnotations

      @Nullable public Map<String,String> getAnnotations()
      Get annotations
      Returns:
      annotations
    • setAnnotations

      public void setAnnotations(Map<String,String> annotations)
    • architecture

      public ImageData architecture(String architecture)
    • getArchitecture

      @Nullable public String getArchitecture()
      Get architecture
      Returns:
      architecture
    • setArchitecture

      public void setArchitecture(String architecture)
    • author

      public ImageData author(String author)
    • getAuthor

      @Nullable public String getAuthor()
      Get author
      Returns:
      author
    • setAuthor

      public void setAuthor(String author)
    • comment

      public ImageData comment(String comment)
    • getComment

      @Nullable public String getComment()
      Get comment
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • config

      public ImageData config(ImageConfig config)
    • getConfig

      @Nullable @Valid public @Valid ImageConfig getConfig()
      Get config
      Returns:
      config
    • setConfig

      public void setConfig(ImageConfig config)
    • created

      public ImageData created(OffsetDateTime created)
    • getCreated

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

      public void setCreated(OffsetDateTime created)
    • digest

      public ImageData digest(String digest)
    • getDigest

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

      public void setDigest(String digest)
    • graphDriver

      public ImageData graphDriver(DriverData graphDriver)
    • getGraphDriver

      @Nullable @Valid public @Valid DriverData getGraphDriver()
      Get graphDriver
      Returns:
      graphDriver
    • setGraphDriver

      public void setGraphDriver(DriverData graphDriver)
    • healthcheck

      public ImageData healthcheck(Schema2HealthConfig healthcheck)
    • getHealthcheck

      @Nullable @Valid public @Valid Schema2HealthConfig getHealthcheck()
      Get healthcheck
      Returns:
      healthcheck
    • setHealthcheck

      public void setHealthcheck(Schema2HealthConfig healthcheck)
    • history

      public ImageData history(List<History> history)
    • addHistoryItem

      public ImageData addHistoryItem(History historyItem)
    • getHistory

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

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

      public ImageData id(String id)
    • getId

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

      public void setId(String id)
    • labels

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

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

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

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

      public ImageData manifestType(String manifestType)
    • getManifestType

      @Nullable public String getManifestType()
      Get manifestType
      Returns:
      manifestType
    • setManifestType

      public void setManifestType(String manifestType)
    • namesHistory

      public ImageData namesHistory(List<String> namesHistory)
    • addNamesHistoryItem

      public ImageData addNamesHistoryItem(String namesHistoryItem)
    • getNamesHistory

      @Nullable public List<String> getNamesHistory()
      Get namesHistory
      Returns:
      namesHistory
    • setNamesHistory

      public void setNamesHistory(List<String> namesHistory)
    • os

      public ImageData os(String os)
    • getOs

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

      public void setOs(String os)
    • parent

      public ImageData parent(String parent)
    • getParent

      @Nullable public String getParent()
      Get parent
      Returns:
      parent
    • setParent

      public void setParent(String parent)
    • repoDigests

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

      public ImageData addRepoDigestsItem(String repoDigestsItem)
    • getRepoDigests

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

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

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

      public ImageData addRepoTagsItem(String repoTagsItem)
    • getRepoTags

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

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

      public ImageData rootFS(RootFS rootFS)
    • getRootFS

      @Nullable @Valid public @Valid RootFS getRootFS()
      Get rootFS
      Returns:
      rootFS
    • setRootFS

      public void setRootFS(RootFS rootFS)
    • size

      public ImageData size(Long size)
    • getSize

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

      public void setSize(Long size)
    • user

      public ImageData user(String user)
    • getUser

      @Nullable public String getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(String user)
    • version

      public ImageData version(String version)
    • getVersion

      @Nullable public String getVersion()
      Get version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • virtualSize

      public ImageData 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 ImageData
    • fromJson

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

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