Class ManifestAnnotateOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestAnnotateOptions
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManifestAnnotateOptions
extends Object
implements Serializable
ManifestAnnotateOptions provides model for annotating manifest list
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationItem(String annotationItem) addFeaturesItem(String featuresItem) addIndexAnnotationItem(String indexAnnotationItem) addOsFeaturesItem(String osFeaturesItem) annotation(List<String> annotation) annotations(Map<String, String> annotations) booleanstatic ManifestAnnotateOptionsCreate an instance of ManifestAnnotateOptions given an JSON stringAnnotation 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 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) voidsetAnnotation(List<String> annotation) voidsetAnnotations(Map<String, String> annotations) voidvoidsetFeatures(List<String> features) voidsetIndexAnnotation(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 ManifestAnnotateOptions to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ANNOTATION
- See Also:
-
SERIALIZED_NAME_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_ARCH
- See Also:
-
SERIALIZED_NAME_FEATURES
- 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
-
ManifestAnnotateOptions
public ManifestAnnotateOptions()
-
-
Method Details
-
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
-
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
-
validateJsonObject
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 ManifestAnnotateOptions
-
fromJson
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
-
toJson
Convert an instance of ManifestAnnotateOptions to an JSON string- Returns:
- JSON string
-