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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CoreV1EventSeries
Create an instance of CoreV1EventSeries given an JSON stringgetCount()
Number of occurrences in this series up to the last heartbeat timeTime of the last occurrence observedint
hashCode()
lastObservedTime
(OffsetDateTime lastObservedTime) void
void
setLastObservedTime
(OffsetDateTime lastObservedTime) toJson()
Convert an instance of CoreV1EventSeries to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-