Class V1CronJobStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1CronJobStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1CronJobStatus
extends Object
CronJobStatus represents the current state of a cron job.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive
(List<V1ObjectReference> active) addActiveItem
(V1ObjectReference activeItem) boolean
static V1CronJobStatus
Create an instance of V1CronJobStatus given an JSON stringA list of pointers to currently running jobs.Information when was the last time the job was successfully scheduled.Information when was the last time the job successfully completed.int
hashCode()
lastScheduleTime
(OffsetDateTime lastScheduleTime) lastSuccessfulTime
(OffsetDateTime lastSuccessfulTime) void
setActive
(List<V1ObjectReference> active) void
setLastScheduleTime
(OffsetDateTime lastScheduleTime) void
setLastSuccessfulTime
(OffsetDateTime lastSuccessfulTime) toJson()
Convert an instance of V1CronJobStatus 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_ACTIVE
- See Also:
-
SERIALIZED_NAME_LAST_SCHEDULE_TIME
- See Also:
-
SERIALIZED_NAME_LAST_SUCCESSFUL_TIME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1CronJobStatus
public V1CronJobStatus()
-
-
Method Details
-
active
-
addActiveItem
-
getActive
A list of pointers to currently running jobs.- Returns:
- active
-
setActive
-
lastScheduleTime
-
getLastScheduleTime
Information when was the last time the job was successfully scheduled.- Returns:
- lastScheduleTime
-
setLastScheduleTime
-
lastSuccessfulTime
-
getLastSuccessfulTime
Information when was the last time the job successfully completed.- Returns:
- lastSuccessfulTime
-
setLastSuccessfulTime
-
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 V1CronJobStatus
-
fromJson
Create an instance of V1CronJobStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1CronJobStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1CronJobStatus
-
toJson
Convert an instance of V1CronJobStatus to an JSON string- Returns:
- JSON string
-