Class ManifestModifyOptions

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

@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 ManifestModifyOptions extends Object
swagger 2.0 does not support oneOf for schema validation. Operation \"update\" uses all fields. Operation \"remove\" uses fields: Operation and Images Operation \"annotate\" uses fields: Operation and Annotations
  • Field Details

  • Constructor Details

    • ManifestModifyOptions

      public ManifestModifyOptions()
  • Method Details

    • all

      public ManifestModifyOptions 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 ManifestModifyOptions annotation(List<String> annotation)
    • addAnnotationItem

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

      public ManifestModifyOptions 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 ManifestModifyOptions 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)
    • artifactAnnotations

      public ManifestModifyOptions artifactAnnotations(Map<String,String> artifactAnnotations)
    • putArtifactAnnotationsItem

      public ManifestModifyOptions putArtifactAnnotationsItem(String key, String artifactAnnotationsItem)
    • getArtifactAnnotations

      @Nullable public Map<String,String> getArtifactAnnotations()
      Get artifactAnnotations
      Returns:
      artifactAnnotations
    • setArtifactAnnotations

      public void setArtifactAnnotations(Map<String,String> artifactAnnotations)
    • artifactConfig

      public ManifestModifyOptions artifactConfig(String artifactConfig)
    • getArtifactConfig

      @Nullable public String getArtifactConfig()
      Get artifactConfig
      Returns:
      artifactConfig
    • setArtifactConfig

      public void setArtifactConfig(String artifactConfig)
    • artifactConfigType

      public ManifestModifyOptions artifactConfigType(String artifactConfigType)
    • getArtifactConfigType

      @Nullable public String getArtifactConfigType()
      Get artifactConfigType
      Returns:
      artifactConfigType
    • setArtifactConfigType

      public void setArtifactConfigType(String artifactConfigType)
    • artifactExcludeTitles

      public ManifestModifyOptions artifactExcludeTitles(Boolean artifactExcludeTitles)
    • getArtifactExcludeTitles

      @Nullable public Boolean getArtifactExcludeTitles()
      Get artifactExcludeTitles
      Returns:
      artifactExcludeTitles
    • setArtifactExcludeTitles

      public void setArtifactExcludeTitles(Boolean artifactExcludeTitles)
    • artifactFiles

      public ManifestModifyOptions artifactFiles(List<String> artifactFiles)
    • addArtifactFilesItem

      public ManifestModifyOptions addArtifactFilesItem(String artifactFilesItem)
    • getArtifactFiles

      @Nullable public List<String> getArtifactFiles()
      Get artifactFiles
      Returns:
      artifactFiles
    • setArtifactFiles

      public void setArtifactFiles(List<String> artifactFiles)
    • artifactLayerType

      public ManifestModifyOptions artifactLayerType(String artifactLayerType)
    • getArtifactLayerType

      @Nullable public String getArtifactLayerType()
      Get artifactLayerType
      Returns:
      artifactLayerType
    • setArtifactLayerType

      public void setArtifactLayerType(String artifactLayerType)
    • artifactSubject

      public ManifestModifyOptions artifactSubject(String artifactSubject)
    • getArtifactSubject

      @Nullable public String getArtifactSubject()
      Get artifactSubject
      Returns:
      artifactSubject
    • setArtifactSubject

      public void setArtifactSubject(String artifactSubject)
    • artifactType

      public ManifestModifyOptions artifactType(String artifactType)
    • getArtifactType

      @Nullable public String getArtifactType()
      The following are all of the fields from ManifestAddArtifactOptions. We can't just embed the whole structure because it embeds a ManifestAnnotateOptions, which would conflict with the one that ManifestAddOptions embeds.
      Returns:
      artifactType
    • setArtifactType

      public void setArtifactType(String artifactType)
    • features

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

      public ManifestModifyOptions 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 ManifestModifyOptions images(List<String> images)
    • addImagesItem

      public ManifestModifyOptions 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 ManifestModifyOptions indexAnnotation(List<String> indexAnnotation)
    • addIndexAnnotationItem

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

      public ManifestModifyOptions 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)
    • operation

      public ManifestModifyOptions operation(String operation)
    • getOperation

      @Nullable public String getOperation()
      Get operation
      Returns:
      operation
    • setOperation

      public void setOperation(String operation)
    • os

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

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

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

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