Class ManifestAddOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestAddOptions
@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 ManifestAddOptions
extends Object
ManifestAddOptions provides model for adding digests to manifest list
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationItem(String annotationItem) addFeaturesItem(String featuresItem) addImagesItem(String imagesItem) addIndexAnnotationItem(String indexAnnotationItem) addOsFeaturesItem(String osFeaturesItem) annotation(List<String> annotation) annotations(Map<String, String> annotations) booleanstatic ManifestAddOptionsCreate an instance of ManifestAddOptions given an JSON stringgetAll()True when operating on a list to include all imagesAnnotation to add to the item in the manifest listAnnotations to add to the item in the manifest list by a map which is preferred over AnnotationgetArch()Arch overrides the architecture for the item in the manifest listFeature list for the item in the manifest listImages is an optional list of image references to add to manifest listIndexAnnotation is a slice of key=value annotations to add to the manifest list itselfIndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotationgetOs()OS overrides the operating system for the item in the manifest listOS features for the item in the manifest listOSVersion overrides the operating system for the item in the manifest listIndexSubject is a subject value to set in the manifest list itselfVariant for the item in the manifest listinthashCode()indexAnnotation(List<String> indexAnnotation) indexAnnotations(Map<String, String> indexAnnotations) osFeatures(List<String> osFeatures) putAnnotationsItem(String key, String annotationsItem) putIndexAnnotationsItem(String key, String indexAnnotationsItem) voidvoidsetAnnotation(List<String> annotation) voidsetAnnotations(Map<String, String> annotations) voidvoidsetFeatures(List<String> features) voidvoidsetIndexAnnotation(List<String> indexAnnotation) voidsetIndexAnnotations(Map<String, String> indexAnnotations) voidvoidsetOsFeatures(List<String> osFeatures) voidsetOsVersion(String osVersion) voidsetSubject(String subject) voidsetVariant(String variant) toJson()Convert an instance of ManifestAddOptions to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ALL
- See Also:
-
SERIALIZED_NAME_ANNOTATION
- See Also:
-
SERIALIZED_NAME_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_ARCH
- See Also:
-
SERIALIZED_NAME_FEATURES
- See Also:
-
SERIALIZED_NAME_IMAGES
- See Also:
-
SERIALIZED_NAME_INDEX_ANNOTATION
- See Also:
-
SERIALIZED_NAME_INDEX_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_OS_FEATURES
- See Also:
-
SERIALIZED_NAME_OS_VERSION
- See Also:
-
SERIALIZED_NAME_SUBJECT
- See Also:
-
SERIALIZED_NAME_VARIANT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManifestAddOptions
public ManifestAddOptions()
-
-
Method Details
-
validateJsonElement
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
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
-
all
-
getAll
True when operating on a list to include all images- Returns:
- all
-
setAll
-
annotation
-
addAnnotationItem
-
getAnnotation
Annotation to add to the item in the manifest list- Returns:
- annotation
-
setAnnotation
-
annotations
-
putAnnotationsItem
-
getAnnotations
Annotations to add to the item in the manifest list by a map which is preferred over Annotation- Returns:
- annotations
-
setAnnotations
-
arch
-
getArch
Arch overrides the architecture for the item in the manifest list- Returns:
- arch
-
setArch
-
features
-
addFeaturesItem
-
getFeatures
Feature list for the item in the manifest list- Returns:
- features
-
setFeatures
-
images
-
addImagesItem
-
getImages
Images is an optional list of image references to add to manifest list- Returns:
- images
-
setImages
-
indexAnnotation
-
addIndexAnnotationItem
-
getIndexAnnotation
IndexAnnotation is a slice of key=value annotations to add to the manifest list itself- Returns:
- indexAnnotation
-
setIndexAnnotation
-
indexAnnotations
-
putIndexAnnotationsItem
-
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
-
os
-
getOs
OS overrides the operating system for the item in the manifest list- Returns:
- os
-
setOs
-
osFeatures
-
addOsFeaturesItem
-
getOsFeatures
OS features for the item in the manifest list- Returns:
- osFeatures
-
setOsFeatures
-
osVersion
-
getOsVersion
OSVersion overrides the operating system for the item in the manifest list- Returns:
- osVersion
-
setOsVersion
-
subject
-
getSubject
IndexSubject is a subject value to set in the manifest list itself- Returns:
- subject
-
setSubject
-
variant
-
getVariant
Variant for the item in the manifest list- Returns:
- variant
-
setVariant
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ManifestAddOptions to an JSON string- Returns:
- JSON string
-