Class ImagePropertiesSize
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImagePropertiesSize
@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 ImagePropertiesSize
extends Object
ImagePropertiesSize
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ImagePropertiesSizeCreate an instance of ImagePropertiesSize given an JSON stringUnpacked is the size (in bytes) of the locally unpacked (uncompressed) image content that's directly usable by the containers running this image.inthashCode()voidsetUnpacked(Long unpacked) toJson()Convert an instance of ImagePropertiesSize 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_UNPACKED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ImagePropertiesSize
public ImagePropertiesSize()
-
-
Method Details
-
unpacked
-
getUnpacked
Unpacked is the size (in bytes) of the locally unpacked (uncompressed) image content that's directly usable by the containers running this image. It's independent of the distributable content - e.g. the image might still have an unpacked data that's still used by some container even when the distributable/compressed content is already gone.- Returns:
- unpacked
-
setUnpacked
-
equals
-
hashCode
public int hashCode() -
toString
-
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 ImagePropertiesSize
-
fromJson
Create an instance of ImagePropertiesSize given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImagePropertiesSize
- Throws:
IOException- if the JSON string is invalid with respect to ImagePropertiesSize
-
toJson
Convert an instance of ImagePropertiesSize to an JSON string- Returns:
- JSON string
-