of

fun of(key: String, rule: ScheduleRule, commandType: String, command: String): SetSchedule

A SetSchedule of the given fields; parameters added later come last, with a default.