Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTerminalReadersReader
Synopsis
- getTerminalReadersReader :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalReadersReaderRequestBody -> m (Either HttpException (Response GetTerminalReadersReaderResponse))
- getTerminalReadersReaderRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalReadersReaderRequestBody -> m (Either HttpException (Response ByteString))
- getTerminalReadersReaderM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalReadersReaderRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTerminalReadersReaderResponse))
- getTerminalReadersReaderRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalReadersReaderRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTerminalReadersReaderRequestBody = GetTerminalReadersReaderRequestBody {
- data GetTerminalReadersReaderResponse
Documentation
getTerminalReadersReader 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 | reader | Constraints: Maximum length of 5000 |
-> GetTerminalReadersReaderRequestBody | The request body to send |
-> m (Either HttpException (Response GetTerminalReadersReaderResponse)) | Monad containing the result of the operation |
GET /v1/terminal/readers/{reader}
<p>Retrieves a <code>Reader</code> object.</p>
getTerminalReadersReaderRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTerminalReadersReaderRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/terminal/readers/{reader}
The same as getTerminalReadersReader
but returns the raw ByteString
getTerminalReadersReaderM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalReadersReaderRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTerminalReadersReaderResponse)) Source #
GET /v1/terminal/readers/{reader}
Monadic version of getTerminalReadersReader
(use with runWithConfiguration
)
getTerminalReadersReaderRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTerminalReadersReaderRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/terminal/readers/{reader}
Monadic version of getTerminalReadersReaderRaw
(use with runWithConfiguration
)
data GetTerminalReadersReaderRequestBody Source #
Defines the data type for the schema getTerminalReadersReaderRequestBody
data GetTerminalReadersReaderResponse Source #
Represents a response of the operation getTerminalReadersReader
.
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), GetTerminalReadersReaderResponseError
is used.
GetTerminalReadersReaderResponseError String | Means either no matching case available or a parse error |
GetTerminalReadersReaderResponse200 Terminal'reader | Successful response. |
GetTerminalReadersReaderResponseDefault Error | Error response. |