Class ManifestAnnotateOptions

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

@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 ManifestAnnotateOptions extends Object
ManifestAnnotateOptions provides model for annotating manifest list
  • Field Details

  • Constructor Details

    • ManifestAnnotateOptions

      public ManifestAnnotateOptions()
  • Method Details

    • 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 ManifestAnnotateOptions
    • fromJson

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

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

      public ManifestAnnotateOptions 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 ManifestAnnotateOptions annotations(Map<String,String> annotations)
    • putAnnotationsItem

      public ManifestAnnotateOptions 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 ManifestAnnotateOptions 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 ManifestAnnotateOptions features(List<String> features)
    • addFeaturesItem

      public ManifestAnnotateOptions 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)
    • indexAnnotation

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

      public ManifestAnnotateOptions 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 ManifestAnnotateOptions indexAnnotations(Map<String,String> indexAnnotations)
    • putIndexAnnotationsItem

      public ManifestAnnotateOptions 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

    • 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 ManifestAnnotateOptions osFeatures(List<String> osFeatures)
    • addOsFeaturesItem

      public ManifestAnnotateOptions 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 ManifestAnnotateOptions 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 ManifestAnnotateOptions 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 ManifestAnnotateOptions 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
    • toJson

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