SchedulingConfig constructor
const
SchedulingConfig({})
Implementation
@JsonSerializable(includeIfNull: false)
const factory SchedulingConfig({
@Default('tools.ozone.moderation.scheduleAction#schedulingConfig')
String $type,
/// Exact time to execute the action
@JsonKey(toJson: iso8601) DateTime? executeAt,
/// Earliest time to execute the action (for randomized scheduling)
@JsonKey(toJson: iso8601) DateTime? executeAfter,
/// Latest time to execute the action (for randomized scheduling)
@JsonKey(toJson: iso8601) DateTime? executeUntil,
Map<String, dynamic>? $unknown,
}) = _SchedulingConfig;