Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getMandatesMandate
Synopsis
- getMandatesMandate :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetMandatesMandateRequestBody -> m (Either HttpException (Response GetMandatesMandateResponse))
- getMandatesMandateRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetMandatesMandateRequestBody -> m (Either HttpException (Response ByteString))
- getMandatesMandateM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetMandatesMandateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetMandatesMandateResponse))
- getMandatesMandateRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetMandatesMandateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetMandatesMandateRequestBody = GetMandatesMandateRequestBody {
- data GetMandatesMandateResponse
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 | mandate |
-> GetMandatesMandateRequestBody | The request body to send |
-> m (Either HttpException (Response GetMandatesMandateResponse)) | Monad containing the result of the operation |
GET /v1/mandates/{mandate}
<p>Retrieves a Mandate object.</p>
getMandatesMandateRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetMandatesMandateRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/mandates/{mandate}
The same as getMandatesMandate
but returns the raw ByteString
getMandatesMandateM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetMandatesMandateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetMandatesMandateResponse)) Source #
GET /v1/mandates/{mandate}
Monadic version of getMandatesMandate
(use with runWithConfiguration
)
getMandatesMandateRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetMandatesMandateRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/mandates/{mandate}
Monadic version of getMandatesMandateRaw
(use with runWithConfiguration
)
data GetMandatesMandateRequestBody Source #
Defines the data type for the schema getMandatesMandateRequestBody
Instances
data GetMandatesMandateResponse Source #
Represents a response of the operation getMandatesMandate
.
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), GetMandatesMandateResponseError
is used.
GetMandatesMandateResponseError String | Means either no matching case available or a parse error |
GetMandatesMandateResponse200 Mandate | Successful response. |
GetMandatesMandateResponseDefault Error | Error response. |