AlertSchedule

data class AlertSchedule(val cronExpression: String? = null, val dayOfWeek: Int? = null, val delay: Int? = null, val hour: Int? = null, val interval: String? = null, val runImmediately: Boolean? = null, val timeZone: String? = null, val type: String)

Constructors

Link copied to clipboard
constructor(cronExpression: String? = null, dayOfWeek: Int? = null, delay: Int? = null, hour: Int? = null, interval: String? = null, runImmediately: Boolean? = null, timeZone: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cronExpression: String? = null

Cron expression when type is Cron.

Link copied to clipboard
val dayOfWeek: Int? = null

Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday

Link copied to clipboard
val delay: Int? = null
Link copied to clipboard
val hour: Int? = null

Hour of day when type is Weekly/Daily.

Link copied to clipboard
val interval: String? = null

Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.

Link copied to clipboard
val runImmediately: Boolean? = null
Link copied to clipboard
val timeZone: String? = null

Time zone for schedule.

Link copied to clipboard

including FixedRate,Hourly,Daily,Weekly,Cron.