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