ScheduledQueryRun class final
ScheduledQueryRun
If you have [scheduled a Sigma query](https://stripe.com/docs/sigma/scheduled-queries), you'll receive a `sigma.scheduled_query_run.created` webhook each time the query runs. The webhook contains a `ScheduledQueryRun` object, which you can use to retrieve the query results.
- Implemented types
Constructors
- ScheduledQueryRun({required DateTime created, required DateTime dataLoadTime, SigmaScheduledQueryRunError? error, File? file, required String id, required bool livemode, required DateTime resultAvailableUntil, required String sql, required String status, required String title})
-
ScheduledQueryRun
const
- ScheduledQueryRun.fromJson(Object? json)
-
factory
Properties
- created → DateTime
-
final
- dataLoadTime → DateTime
-
final
- error → SigmaScheduledQueryRunError?
-
final
- file → File?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- livemode → bool
-
final
- object → String
-
The resource's type.
final
- resultAvailableUntil → DateTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql → String
-
final
- status → String
-
final
- title → String
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (ScheduledQueryRun instance, Encoder< V> encoder) → V