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.
  • Field Details

  • Constructor Details

    • V1UncountedTerminatedPods

      public V1UncountedTerminatedPods()
  • Method Details

    • failed

      public V1UncountedTerminatedPods failed(List<String> failed)
    • addFailedItem

      public V1UncountedTerminatedPods addFailedItem(String failedItem)
    • getFailed

      @Nullable public List<String> getFailed()
      failed holds UIDs of failed Pods.
      Returns:
      failed
    • setFailed

      public void setFailed(List<String> failed)
    • succeeded

      public V1UncountedTerminatedPods succeeded(List<String> succeeded)
    • addSucceededItem

      public V1UncountedTerminatedPods addSucceededItem(String succeededItem)
    • getSucceeded

      @Nullable public List<String> getSucceeded()
      succeeded holds UIDs of succeeded Pods.
      Returns:
      succeeded
    • setSucceeded

      public void setSucceeded(List<String> succeeded)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static V1UncountedTerminatedPods fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1UncountedTerminatedPods to an JSON string
      Returns:
      JSON string