Class V1ContainerImage
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerImage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ContainerImage
extends Object
Describe a container image
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNamesItem
(String namesItem) boolean
static V1ContainerImage
Create an instance of V1ContainerImage given an JSON stringgetNames()
Names by which this image is known. e.gThe size of the image in bytes.int
hashCode()
void
void
setSizeBytes
(Long sizeBytes) toJson()
Convert an instance of V1ContainerImage to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAMES
- See Also:
-
SERIALIZED_NAME_SIZE_BYTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ContainerImage
public V1ContainerImage()
-
-
Method Details
-
names
-
addNamesItem
-
getNames
Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]- Returns:
- names
-
setNames
-
sizeBytes
-
getSizeBytes
The size of the image in bytes.- Returns:
- sizeBytes
-
setSizeBytes
-
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 V1ContainerImage
-
fromJson
Create an instance of V1ContainerImage given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ContainerImage
- Throws:
IOException
- if the JSON string is invalid with respect to V1ContainerImage
-
toJson
Convert an instance of V1ContainerImage to an JSON string- Returns:
- JSON string
-