Class CoreV1EventSeries

java.lang.Object
io.kubernetes.client.openapi.models.CoreV1EventSeries

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T17:56:12.287571Z[Etc/UTC]") public class CoreV1EventSeries extends Object
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
  • Field Details

  • Constructor Details

    • CoreV1EventSeries

      public CoreV1EventSeries()
  • Method Details

    • count

      public CoreV1EventSeries count(Integer count)
    • getCount

      @Nullable public Integer getCount()
      Number of occurrences in this series up to the last heartbeat time
      Returns:
      count
    • setCount

      public void setCount(Integer count)
    • lastObservedTime

      public CoreV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime)
    • getLastObservedTime

      @Nullable public OffsetDateTime getLastObservedTime()
      Time of the last occurrence observed
      Returns:
      lastObservedTime
    • setLastObservedTime

      public void setLastObservedTime(OffsetDateTime lastObservedTime)
    • 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 CoreV1EventSeries
    • fromJson

      public static CoreV1EventSeries fromJson(String jsonString) throws IOException
      Create an instance of CoreV1EventSeries given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of CoreV1EventSeries
      Throws:
      IOException - if the JSON string is invalid with respect to CoreV1EventSeries
    • toJson

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