Class CoreV1EventSeries
java.lang.Object
io.kubernetes.client.openapi.models.CoreV1EventSeries
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class CoreV1EventSeries
extends Object
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CoreV1EventSeriesCreate an instance of CoreV1EventSeries given an JSON stringgetCount()Number of occurrences in this series up to the last heartbeat timeTime of the last occurrence observedinthashCode()lastObservedTime(OffsetDateTime lastObservedTime) voidvoidsetLastObservedTime(OffsetDateTime lastObservedTime) toJson()Convert an instance of CoreV1EventSeries to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COUNT
- See Also:
-
SERIALIZED_NAME_LAST_OBSERVED_TIME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CoreV1EventSeries
public CoreV1EventSeries()
-
-
Method Details
-
count
-
getCount
Number of occurrences in this series up to the last heartbeat time- Returns:
- count
-
setCount
-
lastObservedTime
-
getLastObservedTime
Time of the last occurrence observed- Returns:
- lastObservedTime
-
setLastObservedTime
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CoreV1EventSeries
-
fromJson
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
Convert an instance of CoreV1EventSeries to an JSON string- Returns:
- JSON string
-