Class ManifestModifyOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ManifestModifyOptions
@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 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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationItem(String annotationItem) addArtifactFilesItem(String artifactFilesItem) addFeaturesItem(String featuresItem) addImagesItem(String imagesItem) addIndexAnnotationItem(String indexAnnotationItem) addOsFeaturesItem(String osFeaturesItem) annotation(List<String> annotation) annotations(Map<String, String> annotations) artifactAnnotations(Map<String, String> artifactAnnotations) artifactConfig(String artifactConfig) artifactConfigType(String artifactConfigType) artifactExcludeTitles(Boolean artifactExcludeTitles) artifactFiles(List<String> artifactFiles) artifactLayerType(String artifactLayerType) artifactSubject(String artifactSubject) artifactType(String artifactType) booleanstatic ManifestModifyOptionsCreate an instance of ManifestModifyOptions 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 listGet artifactAnnotationsGet artifactConfigGet artifactConfigTypeGet artifactExcludeTitlesGet artifactFilesGet artifactLayerTypeGet artifactSubjectThe following are all of the fields from ManifestAddArtifactOptions.Feature 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 IndexAnnotationGet operationgetOs()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) putArtifactAnnotationsItem(String key, String artifactAnnotationsItem) putIndexAnnotationsItem(String key, String indexAnnotationsItem) voidvoidsetAnnotation(List<String> annotation) voidsetAnnotations(Map<String, String> annotations) voidvoidsetArtifactAnnotations(Map<String, String> artifactAnnotations) voidsetArtifactConfig(String artifactConfig) voidsetArtifactConfigType(String artifactConfigType) voidsetArtifactExcludeTitles(Boolean artifactExcludeTitles) voidsetArtifactFiles(List<String> artifactFiles) voidsetArtifactLayerType(String artifactLayerType) voidsetArtifactSubject(String artifactSubject) voidsetArtifactType(String artifactType) voidsetFeatures(List<String> features) voidvoidsetIndexAnnotation(List<String> indexAnnotation) voidsetIndexAnnotations(Map<String, String> indexAnnotations) voidsetOperation(String operation) voidvoidsetOsFeatures(List<String> osFeatures) voidsetOsVersion(String osVersion) voidsetSubject(String subject) voidsetVariant(String variant) toJson()Convert an instance of ManifestModifyOptions 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_ARTIFACT_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_ARTIFACT_CONFIG
- See Also:
-
SERIALIZED_NAME_ARTIFACT_CONFIG_TYPE
- See Also:
-
SERIALIZED_NAME_ARTIFACT_EXCLUDE_TITLES
- See Also:
-
SERIALIZED_NAME_ARTIFACT_FILES
- See Also:
-
SERIALIZED_NAME_ARTIFACT_LAYER_TYPE
- See Also:
-
SERIALIZED_NAME_ARTIFACT_SUBJECT
- See Also:
-
SERIALIZED_NAME_ARTIFACT_TYPE
- 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_OPERATION
- 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
-
ManifestModifyOptions
public ManifestModifyOptions()
-
-
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 ManifestModifyOptions
-
fromJson
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
-
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
-
artifactAnnotations
-
putArtifactAnnotationsItem
-
getArtifactAnnotations
Get artifactAnnotations- Returns:
- artifactAnnotations
-
setArtifactAnnotations
-
artifactConfig
-
getArtifactConfig
Get artifactConfig- Returns:
- artifactConfig
-
setArtifactConfig
-
artifactConfigType
-
getArtifactConfigType
Get artifactConfigType- Returns:
- artifactConfigType
-
setArtifactConfigType
-
artifactExcludeTitles
-
getArtifactExcludeTitles
Get artifactExcludeTitles- Returns:
- artifactExcludeTitles
-
setArtifactExcludeTitles
-
artifactFiles
-
addArtifactFilesItem
-
getArtifactFiles
Get artifactFiles- Returns:
- artifactFiles
-
setArtifactFiles
-
artifactLayerType
-
getArtifactLayerType
Get artifactLayerType- Returns:
- artifactLayerType
-
setArtifactLayerType
-
artifactSubject
-
getArtifactSubject
Get artifactSubject- Returns:
- artifactSubject
-
setArtifactSubject
-
artifactType
-
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
-
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
-
operation
-
getOperation
Get operation- Returns:
- operation
-
setOperation
-
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 ManifestModifyOptions to an JSON string- Returns:
- JSON string
-