ScheduledTask class

Constructors

ScheduledTask({required String id, required String projectId, required String roomId, required String roomName, required ScheduledTaskSpec spec, String? queueName, Map<String, dynamic>? payload, ContainerSpec? container, required String schedule, required bool active, required bool once, required Map<String, String> annotations, String? storageWritePath, int? lastRunId, DateTime? lastStartTime, DateTime? lastEndTime, String? lastStatus, String? lastReturnMessage})
ScheduledTask.fromJson(Map<String, dynamic> json)
factory

Properties

active → bool
final
annotations → Map<String, String>
final
container → ContainerSpec?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
lastEndTime → DateTime?
final
lastReturnMessage → String?
final
lastRunId → int?
final
lastStartTime → DateTime?
final
lastStatus → String?
final
once → bool
final
payload → Map<String, dynamic>
Server-side payload is commonly a JSON-string or opaque string. Keep it as dynamic if you want to allow either Map or String.
final
projectId → String
final
queueName → String?
final
roomId → String
final
roomName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedule → String
final
spec → ScheduledTaskSpec
final
storageWritePath → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited