Class ManifestAddOptions

java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestAddOptions

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class ManifestAddOptions extends Object
ManifestAddOptions provides model for adding digests to manifest list
  • Field Details

  • Constructor Details

    • ManifestAddOptions

      public ManifestAddOptions()
  • Method Details

    • all

      public ManifestAddOptions all(Boolean all)
    • getAll

      @Nullable public Boolean getAll()
      True when operating on a list to include all images
      Returns:
      all
    • setAll

      public void setAll(Boolean all)
    • annotation

      public ManifestAddOptions annotation(List<String> annotation)
    • addAnnotationItem

      public ManifestAddOptions addAnnotationItem(String annotationItem)
    • getAnnotation

      @Nullable public List<String> getAnnotation()
      Annotation to add to the item in the manifest list
      Returns:
      annotation
    • setAnnotation

      public void setAnnotation(List<String> annotation)
    • annotations

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

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

      @Nullable public Map<String,String> getAnnotations()
      Annotations to add to the item in the manifest list by a map which is preferred over Annotation
      Returns:
      annotations
    • setAnnotations

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

      public ManifestAddOptions arch(String arch)
    • getArch

      @Nullable public String getArch()
      Arch overrides the architecture for the item in the manifest list
      Returns:
      arch
    • setArch

      public void setArch(String arch)
    • features

      public ManifestAddOptions features(List<String> features)
    • addFeaturesItem

      public ManifestAddOptions addFeaturesItem(String featuresItem)
    • getFeatures

      @Nullable public List<String> getFeatures()
      Feature list for the item in the manifest list
      Returns:
      features
    • setFeatures

      public void setFeatures(List<String> features)
    • images

      public ManifestAddOptions images(List<String> images)
    • addImagesItem

      public ManifestAddOptions addImagesItem(String imagesItem)
    • getImages

      @Nullable public List<String> getImages()
      Images is an optional list of image references to add to manifest list
      Returns:
      images
    • setImages

      public void setImages(List<String> images)
    • indexAnnotation

      public ManifestAddOptions indexAnnotation(List<String> indexAnnotation)
    • addIndexAnnotationItem

      public ManifestAddOptions addIndexAnnotationItem(String indexAnnotationItem)
    • getIndexAnnotation

      @Nullable public List<String> getIndexAnnotation()
      IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
      Returns:
      indexAnnotation
    • setIndexAnnotation

      public void setIndexAnnotation(List<String> indexAnnotation)
    • indexAnnotations

      public ManifestAddOptions indexAnnotations(Map<String,String> indexAnnotations)
    • putIndexAnnotationsItem

      public ManifestAddOptions putIndexAnnotationsItem(String key, String indexAnnotationsItem)
    • getIndexAnnotations

      @Nullable public Map<String,String> getIndexAnnotations()
      IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
      Returns:
      indexAnnotations
    • setIndexAnnotations

      public void setIndexAnnotations(Map<String,String> indexAnnotations)
    • os

      public ManifestAddOptions os(String os)
    • getOs

      @Nullable public String getOs()
      OS overrides the operating system for the item in the manifest list
      Returns:
      os
    • setOs

      public void setOs(String os)
    • osFeatures

      public ManifestAddOptions osFeatures(List<String> osFeatures)
    • addOsFeaturesItem

      public ManifestAddOptions addOsFeaturesItem(String osFeaturesItem)
    • getOsFeatures

      @Nullable public List<String> getOsFeatures()
      OS features for the item in the manifest list
      Returns:
      osFeatures
    • setOsFeatures

      public void setOsFeatures(List<String> osFeatures)
    • osVersion

      public ManifestAddOptions osVersion(String osVersion)
    • getOsVersion

      @Nullable public String getOsVersion()
      OSVersion overrides the operating system for the item in the manifest list
      Returns:
      osVersion
    • setOsVersion

      public void setOsVersion(String osVersion)
    • subject

      public ManifestAddOptions subject(String subject)
    • getSubject

      @Nullable public String getSubject()
      IndexSubject is a subject value to set in the manifest list itself
      Returns:
      subject
    • setSubject

      public void setSubject(String subject)
    • variant

      public ManifestAddOptions variant(String variant)
    • getVariant

      @Nullable public String getVariant()
      Variant for the item in the manifest list
      Returns:
      variant
    • setVariant

      public void setVariant(String variant)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 ManifestAddOptions
    • fromJson

      public static ManifestAddOptions fromJson(String jsonString) throws IOException
      Create an instance of ManifestAddOptions given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ManifestAddOptions
      Throws:
      IOException - if the JSON string is invalid with respect to ManifestAddOptions
    • toJson

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