Class EventsV1EventSeries
java.lang.Object
io.kubernetes.client.openapi.models.EventsV1EventSeries
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class EventsV1EventSeries
extends Object
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static EventsV1EventSeries
Create an instance of EventsV1EventSeries given an JSON stringgetCount()
count is the number of occurrences in this series up to the last heartbeat time.lastObservedTime is the time when last Event from the series was seen before last heartbeat.int
hashCode()
lastObservedTime
(OffsetDateTime lastObservedTime) void
void
setLastObservedTime
(OffsetDateTime lastObservedTime) toJson()
Convert an instance of EventsV1EventSeries to an JSON stringtoString()
static void
validateJsonElement
(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
-
EventsV1EventSeries
public EventsV1EventSeries()
-
-
Method Details
-
count
-
getCount
count is the number of occurrences in this series up to the last heartbeat time.- Returns:
- count
-
setCount
-
lastObservedTime
-
getLastObservedTime
lastObservedTime is the time when last Event from the series was seen before last heartbeat.- 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 EventsV1EventSeries
-
fromJson
Create an instance of EventsV1EventSeries given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of EventsV1EventSeries
- Throws:
IOException
- if the JSON string is invalid with respect to EventsV1EventSeries
-
toJson
Convert an instance of EventsV1EventSeries to an JSON string- Returns:
- JSON string
-