Class V1CronJobStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1CronJobStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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) booleanstatic V1CronJobStatusCreate 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.inthashCode()lastScheduleTime(OffsetDateTime lastScheduleTime) lastSuccessfulTime(OffsetDateTime lastSuccessfulTime) voidsetActive(List<V1ObjectReference> active) voidsetLastScheduleTime(OffsetDateTime lastScheduleTime) voidsetLastSuccessfulTime(OffsetDateTime lastSuccessfulTime) toJson()Convert an instance of V1CronJobStatus to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-