Task_TriggerSpec constructor
Task_TriggerSpec({
- bool? disabled,
- Task_TriggerSpec_Type? type,
- Timestamp? startTime,
- int? maxRetries,
- String? schedule,
Implementation
factory Task_TriggerSpec({
$core.bool? disabled,
Task_TriggerSpec_Type? type,
$2.Timestamp? startTime,
$core.int? maxRetries,
$core.String? schedule,
}) {
final $result = create();
if (disabled != null) {
$result.disabled = disabled;
}
if (type != null) {
$result.type = type;
}
if (startTime != null) {
$result.startTime = startTime;
}
if (maxRetries != null) {
$result.maxRetries = maxRetries;
}
if (schedule != null) {
$result.schedule = schedule;
}
return $result;
}