Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema ScheduledQueryRun
Synopsis
- data ScheduledQueryRun = ScheduledQueryRun {
- scheduledQueryRunCreated :: Int
- scheduledQueryRunDataLoadTime :: Int
- scheduledQueryRunError :: Maybe SigmaScheduledQueryRunError
- scheduledQueryRunFile :: Maybe ScheduledQueryRunFile'
- scheduledQueryRunId :: Text
- scheduledQueryRunLivemode :: Bool
- scheduledQueryRunResultAvailableUntil :: Int
- scheduledQueryRunSql :: Text
- scheduledQueryRunStatus :: Text
- scheduledQueryRunTitle :: Text
- mkScheduledQueryRun :: Int -> Int -> Text -> Bool -> Int -> Text -> Text -> Text -> ScheduledQueryRun
- data ScheduledQueryRunFile' = ScheduledQueryRunFile' {
- scheduledQueryRunFile'Created :: Maybe Int
- scheduledQueryRunFile'ExpiresAt :: Maybe Int
- scheduledQueryRunFile'Filename :: Maybe Text
- scheduledQueryRunFile'Id :: Maybe Text
- scheduledQueryRunFile'Links :: Maybe ScheduledQueryRunFile'Links'
- scheduledQueryRunFile'Purpose :: Maybe ScheduledQueryRunFile'Purpose'
- scheduledQueryRunFile'Size :: Maybe Int
- scheduledQueryRunFile'Title :: Maybe Text
- scheduledQueryRunFile'Type :: Maybe Text
- scheduledQueryRunFile'Url :: Maybe Text
- mkScheduledQueryRunFile' :: ScheduledQueryRunFile'
- data ScheduledQueryRunFile'Links' = ScheduledQueryRunFile'Links' {}
- mkScheduledQueryRunFile'Links' :: [FileLink] -> Bool -> Text -> ScheduledQueryRunFile'Links'
- data ScheduledQueryRunFile'Purpose'
- = ScheduledQueryRunFile'Purpose'Other Value
- | ScheduledQueryRunFile'Purpose'Typed Text
- | ScheduledQueryRunFile'Purpose'EnumAccountRequirement
- | ScheduledQueryRunFile'Purpose'EnumAdditionalVerification
- | ScheduledQueryRunFile'Purpose'EnumBusinessIcon
- | ScheduledQueryRunFile'Purpose'EnumBusinessLogo
- | ScheduledQueryRunFile'Purpose'EnumCustomerSignature
- | ScheduledQueryRunFile'Purpose'EnumDisputeEvidence
- | ScheduledQueryRunFile'Purpose'EnumDocumentProviderIdentityDocument
- | ScheduledQueryRunFile'Purpose'EnumFinanceReportRun
- | ScheduledQueryRunFile'Purpose'EnumIdentityDocument
- | ScheduledQueryRunFile'Purpose'EnumIdentityDocumentDownloadable
- | ScheduledQueryRunFile'Purpose'EnumPciDocument
- | ScheduledQueryRunFile'Purpose'EnumSelfie
- | ScheduledQueryRunFile'Purpose'EnumSigmaScheduledQuery
- | ScheduledQueryRunFile'Purpose'EnumTaxDocumentUserUpload
Documentation
data ScheduledQueryRun Source #
Defines the object schema located at components.schemas.scheduled_query_run
in the specification.
If you have scheduled a Sigma query, 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.
ScheduledQueryRun | |
|
Instances
Eq ScheduledQueryRun Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun (==) :: ScheduledQueryRun -> ScheduledQueryRun -> Bool # (/=) :: ScheduledQueryRun -> ScheduledQueryRun -> Bool # | |
Show ScheduledQueryRun Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun showsPrec :: Int -> ScheduledQueryRun -> ShowS # show :: ScheduledQueryRun -> String # showList :: [ScheduledQueryRun] -> ShowS # | |
ToJSON ScheduledQueryRun Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun toJSON :: ScheduledQueryRun -> Value # toEncoding :: ScheduledQueryRun -> Encoding # toJSONList :: [ScheduledQueryRun] -> Value # toEncodingList :: [ScheduledQueryRun] -> Encoding # | |
FromJSON ScheduledQueryRun Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun parseJSON :: Value -> Parser ScheduledQueryRun # parseJSONList :: Value -> Parser [ScheduledQueryRun] # |
Create a new ScheduledQueryRun
with all required fields.
data ScheduledQueryRunFile' Source #
Defines the object schema located at components.schemas.scheduled_query_run.properties.file.anyOf
in the specification.
The file object representing the results of the query.
ScheduledQueryRunFile' | |
|
Instances
Eq ScheduledQueryRunFile' Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun | |
Show ScheduledQueryRunFile' Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun showsPrec :: Int -> ScheduledQueryRunFile' -> ShowS # show :: ScheduledQueryRunFile' -> String # showList :: [ScheduledQueryRunFile'] -> ShowS # | |
ToJSON ScheduledQueryRunFile' Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun toJSON :: ScheduledQueryRunFile' -> Value # toEncoding :: ScheduledQueryRunFile' -> Encoding # toJSONList :: [ScheduledQueryRunFile'] -> Value # | |
FromJSON ScheduledQueryRunFile' Source # | |
Defined in StripeAPI.Types.ScheduledQueryRun |
mkScheduledQueryRunFile' :: ScheduledQueryRunFile' Source #
Create a new ScheduledQueryRunFile'
with all required fields.
data ScheduledQueryRunFile'Links' Source #
Defines the object schema located at components.schemas.scheduled_query_run.properties.file.anyOf.properties.links
in the specification.
A list of file links that point at this file.
ScheduledQueryRunFile'Links' | |
|
Instances
mkScheduledQueryRunFile'Links' Source #
:: [FileLink] | |
-> Bool | |
-> Text | |
-> ScheduledQueryRunFile'Links' |
Create a new ScheduledQueryRunFile'Links'
with all required fields.
data ScheduledQueryRunFile'Purpose' Source #
Defines the enum schema located at components.schemas.scheduled_query_run.properties.file.anyOf.properties.purpose
in the specification.
The purpose of the uploaded file.
ScheduledQueryRunFile'Purpose'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ScheduledQueryRunFile'Purpose'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ScheduledQueryRunFile'Purpose'EnumAccountRequirement | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumAdditionalVerification | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumBusinessIcon | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumBusinessLogo | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumCustomerSignature | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumDisputeEvidence | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumDocumentProviderIdentityDocument | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumFinanceReportRun | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumIdentityDocument | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumIdentityDocumentDownloadable | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumPciDocument | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumSelfie | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumSigmaScheduledQuery | Represents the JSON value |
ScheduledQueryRunFile'Purpose'EnumTaxDocumentUserUpload | Represents the JSON value |