Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getFileLinks
Synopsis
- getFileLinks :: forall m. MonadHTTP m => GetFileLinksParameters -> StripeT m (Response GetFileLinksResponse)
- data GetFileLinksParameters = GetFileLinksParameters {
- getFileLinksParametersQueryCreated :: Maybe GetFileLinksParametersQueryCreated'Variants
- getFileLinksParametersQueryEndingBefore :: Maybe Text
- getFileLinksParametersQueryExpand :: Maybe [Text]
- getFileLinksParametersQueryExpired :: Maybe Bool
- getFileLinksParametersQueryFile :: Maybe Text
- getFileLinksParametersQueryLimit :: Maybe Int
- getFileLinksParametersQueryStartingAfter :: Maybe Text
- mkGetFileLinksParameters :: GetFileLinksParameters
- data GetFileLinksParametersQueryCreated'OneOf1 = GetFileLinksParametersQueryCreated'OneOf1 {}
- mkGetFileLinksParametersQueryCreated'OneOf1 :: GetFileLinksParametersQueryCreated'OneOf1
- data GetFileLinksParametersQueryCreated'Variants
- data GetFileLinksResponse
- data GetFileLinksResponseBody200 = GetFileLinksResponseBody200 {}
- mkGetFileLinksResponseBody200 :: [FileLink] -> Bool -> Text -> GetFileLinksResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetFileLinksParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetFileLinksResponse) | Monadic computation which returns the result of the operation |
GET /v1/file_links
<p>Returns a list of file links.</p>
data GetFileLinksParameters Source #
Defines the object schema located at paths./v1/file_links.GET.parameters
in the specification.
GetFileLinksParameters | |
|
Instances
Eq GetFileLinksParameters Source # | |
Defined in StripeAPI.Operations.GetFileLinks | |
Show GetFileLinksParameters Source # | |
Defined in StripeAPI.Operations.GetFileLinks showsPrec :: Int -> GetFileLinksParameters -> ShowS # show :: GetFileLinksParameters -> String # showList :: [GetFileLinksParameters] -> ShowS # | |
ToJSON GetFileLinksParameters Source # | |
Defined in StripeAPI.Operations.GetFileLinks toJSON :: GetFileLinksParameters -> Value # toEncoding :: GetFileLinksParameters -> Encoding # toJSONList :: [GetFileLinksParameters] -> Value # | |
FromJSON GetFileLinksParameters Source # | |
Defined in StripeAPI.Operations.GetFileLinks |
mkGetFileLinksParameters :: GetFileLinksParameters Source #
Create a new GetFileLinksParameters
with all required fields.
data GetFileLinksParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/file_links.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetFileLinksParametersQueryCreated'OneOf1 :: GetFileLinksParametersQueryCreated'OneOf1 Source #
Create a new GetFileLinksParametersQueryCreated'OneOf1
with all required fields.
data GetFileLinksParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/file_links.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetFileLinksParametersQueryCreated'GetFileLinksParametersQueryCreated'OneOf1 GetFileLinksParametersQueryCreated'OneOf1 | |
GetFileLinksParametersQueryCreated'Int Int |
data GetFileLinksResponse Source #
Represents a response of the operation getFileLinks
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetFileLinksResponseError
is used.
GetFileLinksResponseError String | Means either no matching case available or a parse error |
GetFileLinksResponse200 GetFileLinksResponseBody200 | Successful response. |
GetFileLinksResponseDefault Error | Error response. |
Instances
Eq GetFileLinksResponse Source # | |
Defined in StripeAPI.Operations.GetFileLinks (==) :: GetFileLinksResponse -> GetFileLinksResponse -> Bool # (/=) :: GetFileLinksResponse -> GetFileLinksResponse -> Bool # | |
Show GetFileLinksResponse Source # | |
Defined in StripeAPI.Operations.GetFileLinks showsPrec :: Int -> GetFileLinksResponse -> ShowS # show :: GetFileLinksResponse -> String # showList :: [GetFileLinksResponse] -> ShowS # |
data GetFileLinksResponseBody200 Source #
Defines the object schema located at paths./v1/file_links.GET.responses.200.content.application/json.schema
in the specification.
GetFileLinksResponseBody200 | |
|
Instances
mkGetFileLinksResponseBody200 Source #
:: [FileLink] | |
-> Bool | |
-> Text | |
-> GetFileLinksResponseBody200 |
Create a new GetFileLinksResponseBody200
with all required fields.