Class ImageProperties
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImageProperties
@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 ImageProperties
extends Object
ImageProperties
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContainersItem(String containersItem) containers(List<String> containers) booleanstatic ImagePropertiesCreate an instance of ImageProperties given an JSON stringContainers is an array containing the IDs of the containers that are using this image.@NotNull @Valid PlatformGet platform@Valid ImagePropertiesSizegetSize()Get sizeinthashCode()voidsetContainers(List<String> containers) voidsetPlatform(Platform platform) voidsetSize(ImagePropertiesSize size) size(ImagePropertiesSize size) toJson()Convert an instance of ImageProperties 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_CONTAINERS
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ImageProperties
public ImageProperties()
-
-
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 ImageProperties
-
fromJson
Create an instance of ImageProperties given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImageProperties
- Throws:
IOException- if the JSON string is invalid with respect to ImageProperties
-
containers
-
addContainersItem
-
getContainers
Containers is an array containing the IDs of the containers that are using this image.- Returns:
- containers
-
setContainers
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ImageProperties to an JSON string- Returns:
- JSON string
-