Package com.okta.sdk.resource.model
Class AutoUpdateSchedule
java.lang.Object
com.okta.sdk.resource.model.AutoUpdateSchedule
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class AutoUpdateSchedule
extends Object
implements Serializable
The schedule of auto-update configured by the admin
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCron()The schedule of the update in cron format.getDelay()Delay in daysDuration in minutesTimestamp when the update finished (only for a successful or failed update, not for a cancelled update).Timezone of where the scheduled job takes placeinthashCode()lastUpdated(OffsetDateTime lastUpdated) voidvoidvoidsetDuration(Integer duration) voidsetLastUpdated(OffsetDateTime lastUpdated) voidsetTimezone(String timezone) toString()
-
Field Details
-
JSON_PROPERTY_CRON
- See Also:
-
JSON_PROPERTY_DELAY
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
AutoUpdateSchedule
public AutoUpdateSchedule()
-
-
Method Details
-
cron
-
getCron
The schedule of the update in cron format. The cron settings are limited to only the day of the month or the nth-day-of-the-week configurations. For example, `0 8 ? * 6#3` indicates every third Saturday at 8:00 AM.- Returns:
- cron
-
setCron
-
delay
-
getDelay
Delay in days- Returns:
- delay
-
setDelay
-
duration
-
getDuration
Duration in minutes- Returns:
- duration
-
setDuration
-
lastUpdated
-
getLastUpdated
Timestamp when the update finished (only for a successful or failed update, not for a cancelled update). Null is returned if the job hasn't finished once yet.- Returns:
- lastUpdated
-
setLastUpdated
-
timezone
-
getTimezone
Timezone of where the scheduled job takes place- Returns:
- timezone
-
setTimezone
-
equals
-
hashCode
public int hashCode() -
toString
-