Class V1UncountedTerminatedPods
java.lang.Object
io.kubernetes.client.openapi.models.V1UncountedTerminatedPods
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[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) booleanstatic V1UncountedTerminatedPodsCreate an instance of V1UncountedTerminatedPods given an JSON stringfailed holds UIDs of failed Pods.succeeded holds UIDs of succeeded Pods.inthashCode()voidvoidsetSucceeded(List<String> succeeded) toJson()Convert an instance of V1UncountedTerminatedPods 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_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
-