Class V1UncountedTerminatedPods
java.lang.Object
io.kubernetes.client.openapi.models.V1UncountedTerminatedPods
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1UncountedTerminatedPods
extends Object
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFailedItem
(String failedItem) addSucceededItem
(String succeededItem) boolean
static V1UncountedTerminatedPods
Create an instance of V1UncountedTerminatedPods given an JSON stringfailed holds UIDs of failed Pods.succeeded holds UIDs of succeeded Pods.int
hashCode()
void
void
setSucceeded
(List<String> succeeded) toJson()
Convert an instance of V1UncountedTerminatedPods 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_FAILED
- See Also:
-
SERIALIZED_NAME_SUCCEEDED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1UncountedTerminatedPods
public V1UncountedTerminatedPods()
-
-
Method Details
-
failed
-
addFailedItem
-
getFailed
failed holds UIDs of failed Pods.- Returns:
- failed
-
setFailed
-
succeeded
-
addSucceededItem
-
getSucceeded
succeeded holds UIDs of succeeded Pods.- Returns:
- succeeded
-
setSucceeded
-
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 V1UncountedTerminatedPods
-
fromJson
Create an instance of V1UncountedTerminatedPods given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1UncountedTerminatedPods
- Throws:
IOException
- if the JSON string is invalid with respect to V1UncountedTerminatedPods
-
toJson
Convert an instance of V1UncountedTerminatedPods to an JSON string- Returns:
- JSON string
-