Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountCapabilities
Synopsis
- getAccountCapabilities :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> GetAccountCapabilitiesRequestBody -> m (Either HttpException (Response GetAccountCapabilitiesResponse))
- getAccountCapabilitiesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> GetAccountCapabilitiesRequestBody -> m (Either HttpException (Response ByteString))
- getAccountCapabilitiesM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> GetAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountCapabilitiesResponse))
- getAccountCapabilitiesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> GetAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountCapabilitiesRequestBody = GetAccountCapabilitiesRequestBody {
- data GetAccountCapabilitiesResponse
- data GetAccountCapabilitiesResponseBody200 = GetAccountCapabilitiesResponseBody200 {}
- data GetAccountCapabilitiesResponseBody200Object'
Documentation
getAccountCapabilities Source #
:: (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. |
-> GetAccountCapabilitiesRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountCapabilitiesResponse)) | Monad containing 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>
getAccountCapabilitiesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> GetAccountCapabilitiesRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/account/capabilities
The same as getAccountCapabilities
but returns the raw ByteString
getAccountCapabilitiesM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> GetAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountCapabilitiesResponse)) Source #
GET /v1/account/capabilities
Monadic version of getAccountCapabilities
(use with runWithConfiguration
)
getAccountCapabilitiesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> GetAccountCapabilitiesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/account/capabilities
Monadic version of getAccountCapabilitiesRaw
(use with runWithConfiguration
)
data GetAccountCapabilitiesRequestBody Source #
Defines the data type for the schema getAccountCapabilitiesRequestBody
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 data type for the schema GetAccountCapabilitiesResponseBody200
GetAccountCapabilitiesResponseBody200 | |
|
data GetAccountCapabilitiesResponseBody200Object' Source #
Defines the enum schema GetAccountCapabilitiesResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetAccountCapabilitiesResponseBody200Object'EnumOther Value | |
GetAccountCapabilitiesResponseBody200Object'EnumTyped String | |
GetAccountCapabilitiesResponseBody200Object'EnumStringList |