Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getFileLinksLink
Synopsis
- getFileLinksLink :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetFileLinksLinkRequestBody -> m (Either HttpException (Response GetFileLinksLinkResponse))
- getFileLinksLinkRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetFileLinksLinkRequestBody -> m (Either HttpException (Response ByteString))
- getFileLinksLinkM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetFileLinksLinkRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetFileLinksLinkResponse))
- getFileLinksLinkRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetFileLinksLinkRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetFileLinksLinkRequestBody = GetFileLinksLinkRequestBody {
- data GetFileLinksLinkResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | link |
-> GetFileLinksLinkRequestBody | The request body to send |
-> m (Either HttpException (Response GetFileLinksLinkResponse)) | Monad containing the result of the operation |
GET /v1/file_links/{link}
<p>Retrieves the file link with the given ID.</p>
getFileLinksLinkRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetFileLinksLinkRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/file_links/{link}
The same as getFileLinksLink
but returns the raw ByteString
getFileLinksLinkM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetFileLinksLinkRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetFileLinksLinkResponse)) Source #
GET /v1/file_links/{link}
Monadic version of getFileLinksLink
(use with runWithConfiguration
)
getFileLinksLinkRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetFileLinksLinkRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/file_links/{link}
Monadic version of getFileLinksLinkRaw
(use with runWithConfiguration
)
data GetFileLinksLinkRequestBody Source #
Defines the data type for the schema getFileLinksLinkRequestBody
Instances
data GetFileLinksLinkResponse Source #
Represents a response of the operation getFileLinksLink
.
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), GetFileLinksLinkResponseError
is used.
GetFileLinksLinkResponseError String | Means either no matching case available or a parse error |
GetFileLinksLinkResponse200 FileLink | Successful response. |
GetFileLinksLinkResponseDefault Error | Error response. |
Instances
Eq GetFileLinksLinkResponse Source # | |
Defined in StripeAPI.Operations.GetFileLinksLink | |
Show GetFileLinksLinkResponse Source # | |
Defined in StripeAPI.Operations.GetFileLinksLink showsPrec :: Int -> GetFileLinksLinkResponse -> ShowS # show :: GetFileLinksLinkResponse -> String # showList :: [GetFileLinksLinkResponse] -> ShowS # |