Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountCapabilities
Synopsis
- getAccountCapabilities :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetAccountCapabilitiesResponse)
- data GetAccountCapabilitiesResponse
- data GetAccountCapabilitiesResponseBody200 = GetAccountCapabilitiesResponseBody200 {}
- mkGetAccountCapabilitiesResponseBody200 :: [Capability] -> Bool -> Text -> GetAccountCapabilitiesResponseBody200
Documentation
getAccountCapabilities Source #
:: forall m. MonadHTTP m | |
=> Maybe [Text] | expand: Specifies which fields in the response should be expanded. |
-> ClientT m (Response GetAccountCapabilitiesResponse) | Monadic computation which returns the result of the operation |
GET /v1/account/capabilities
<p>Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.</p>
data GetAccountCapabilitiesResponse Source #
Represents a response of the operation getAccountCapabilities
.
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), GetAccountCapabilitiesResponseError
is used.
GetAccountCapabilitiesResponseError String | Means either no matching case available or a parse error |
GetAccountCapabilitiesResponse200 GetAccountCapabilitiesResponseBody200 | Successful response. |
GetAccountCapabilitiesResponseDefault Error | Error response. |
data GetAccountCapabilitiesResponseBody200 Source #
Defines the object schema located at paths./v1/account/capabilities.GET.responses.200.content.application/json.schema
in the specification.
GetAccountCapabilitiesResponseBody200 | |
|
mkGetAccountCapabilitiesResponseBody200 Source #
:: [Capability] | |
-> Bool | |
-> Text | |
-> GetAccountCapabilitiesResponseBody200 |
Create a new GetAccountCapabilitiesResponseBody200
with all required fields.