Class ImagePropertiesSize
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ImagePropertiesSize
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ImagePropertiesSize
extends Object
implements Serializable
ImagePropertiesSize
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ImagePropertiesSizeCreate an instance of ImagePropertiesSize given an JSON string@NotNull LongUnpacked 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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-