ScheduledQueryRun constructor

const ScheduledQueryRun({
  1. required DateTime created,
  2. required DateTime dataLoadTime,
  3. SigmaScheduledQueryRunError? error,
  4. File? file,
  5. required String id,
  6. required bool livemode,
  7. required DateTime resultAvailableUntil,
  8. required String sql,
  9. required String status,
  10. required String title,
})

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.

Implementation

const ScheduledQueryRun({
  required this.created,
  required this.dataLoadTime,
  this.error,
  this.file,
  required this.id,
  required this.livemode,
  required this.resultAvailableUntil,
  required this.sql,
  required this.status,
  required this.title,
});