Class V1ContainerImage
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerImage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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.The 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
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-