Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTerminalLocations
Synopsis
- getTerminalLocations :: forall m. MonadHTTP m => GetTerminalLocationsParameters -> ClientT m (Response GetTerminalLocationsResponse)
- data GetTerminalLocationsParameters = GetTerminalLocationsParameters {}
- mkGetTerminalLocationsParameters :: GetTerminalLocationsParameters
- data GetTerminalLocationsResponse
- data GetTerminalLocationsResponseBody200 = GetTerminalLocationsResponseBody200 {}
- mkGetTerminalLocationsResponseBody200 :: [Terminal'location] -> Bool -> Text -> GetTerminalLocationsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetTerminalLocationsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetTerminalLocationsResponse) | Monadic computation which returns the result of the operation |
GET /v1/terminal/locations
<p>Returns a list of <code>Location</code> objects.</p>
data GetTerminalLocationsParameters Source #
Defines the object schema located at paths./v1/terminal/locations.GET.parameters
in the specification.
GetTerminalLocationsParameters | |
|
mkGetTerminalLocationsParameters :: GetTerminalLocationsParameters Source #
Create a new GetTerminalLocationsParameters
with all required fields.
data GetTerminalLocationsResponse Source #
Represents a response of the operation getTerminalLocations
.
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), GetTerminalLocationsResponseError
is used.
GetTerminalLocationsResponseError String | Means either no matching case available or a parse error |
GetTerminalLocationsResponse200 GetTerminalLocationsResponseBody200 | Successful response. |
GetTerminalLocationsResponseDefault Error | Error response. |
Instances
data GetTerminalLocationsResponseBody200 Source #
Defines the object schema located at paths./v1/terminal/locations.GET.responses.200.content.application/json.schema
in the specification.
GetTerminalLocationsResponseBody200 | |
|
mkGetTerminalLocationsResponseBody200 Source #
Create a new GetTerminalLocationsResponseBody200
with all required fields.