stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetFileLinksLink

Description

Contains the different functions to run the operation getFileLinksLink

Synopsis

Documentation

getFileLinksLink Source #

Arguments

:: (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

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.

Constructors

GetFileLinksLinkResponseError String

Means either no matching case available or a parse error

GetFileLinksLinkResponse200 FileLink

Successful response.

GetFileLinksLinkResponseDefault Error

Error response.