Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountPeoplePerson
Synopsis
- getAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetAccountPeoplePersonRequestBody -> m (Either HttpException (Response GetAccountPeoplePersonResponse))
- getAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- getAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountPeoplePersonResponse))
- getAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountPeoplePersonRequestBody = GetAccountPeoplePersonRequestBody {
- data GetAccountPeoplePersonResponse
Documentation
getAccountPeoplePerson 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. |
-> String | person | Constraints: Maximum length of 5000 |
-> GetAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountPeoplePersonResponse)) | Monad containing the result of the operation |
GET /v1/account/people/{person}
<p>Retrieves an existing person.</p>
getAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/account/people/{person}
The same as getAccountPeoplePerson
but returns the raw ByteString
getAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountPeoplePersonResponse)) Source #
GET /v1/account/people/{person}
Monadic version of getAccountPeoplePerson
(use with runWithConfiguration
)
getAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/account/people/{person}
Monadic version of getAccountPeoplePersonRaw
(use with runWithConfiguration
)
data GetAccountPeoplePersonRequestBody Source #
Defines the data type for the schema getAccountPeoplePersonRequestBody
data GetAccountPeoplePersonResponse Source #
Represents a response of the operation getAccountPeoplePerson
.
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), GetAccountPeoplePersonResponseError
is used.
GetAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
GetAccountPeoplePersonResponse200 Person | Successful response. |
GetAccountPeoplePersonResponseDefault Error | Error response. |