summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
commit19985dbb8c0aa66dc4bf7905abc1148de909097d (patch)
tree2cd5a5d20d7e80fc2a51adf60d838d8a2c40999e /vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php
download1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.gz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.bz2
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.lz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.xz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.zst
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.zip
Diffstat (limited to 'vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php')
-rw-r--r--vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php b/vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php
new file mode 100644
index 0000000..b109dde
--- /dev/null
+++ b/vendor/stripe/stripe-php/lib/Sigma/ScheduledQueryRun.php
@@ -0,0 +1,37 @@
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Sigma;
+
+/**
+ * If you have <a href="https://stripe.com/docs/sigma/scheduled-queries">scheduled
+ * a Sigma query</a>, you'll receive a
+ * <code>sigma.scheduled_query_run.created</code> webhook each time the query runs.
+ * The webhook contains a <code>ScheduledQueryRun</code> object, which you can use
+ * to retrieve the query results.
+ *
+ * @property string $id Unique identifier for the object.
+ * @property string $object String representing the object's type. Objects of the same type share the same value.
+ * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
+ * @property int $data_load_time When the query was run, Sigma contained a snapshot of your Stripe data at this time.
+ * @property \Stripe\StripeObject $error
+ * @property null|\Stripe\File $file The file object representing the results of the query.
+ * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
+ * @property int $result_available_until Time at which the result expires and is no longer available for download.
+ * @property string $sql SQL for the query.
+ * @property string $status The query's execution status, which will be <code>completed</code> for successful runs, and <code>canceled</code>, <code>failed</code>, or <code>timed_out</code> otherwise.
+ * @property string $title Title of the query.
+ */
+class ScheduledQueryRun extends \Stripe\ApiResource
+{
+ const OBJECT_NAME = 'scheduled_query_run';
+
+ use \Stripe\ApiOperations\All;
+ use \Stripe\ApiOperations\Retrieve;
+
+ public static function classUrl()
+ {
+ return '/v1/sigma/scheduled_query_runs';
+ }
+}