Copyright | (c) Adrian Dawid 2015 |
---|---|
License | BSD3 |
Maintainer | adriandwd@gmail.com |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
This module conatins Haskell types which represent all necessary JSON patterns used by the Orchestrate.io API.
- data OrchestrateApplication = OrchestrateApplication {}
- data OrchestrateCollection = OrchestrateCollection {}
- data OrchestrateQueryResult = OrchestrateQueryResult {}
- data OrchestratePath = OrchestratePath {}
- data OrchestrateListResult = OrchestrateListResult {}
- resultValuesAsList :: OrchestrateIntermediateResult a => [a] -> [Object]
Documentation
data OrchestrateApplication Source
A data type, that represents an Orchestrate application. It stores an api key (generated online) and a https-endpoint.
data OrchestrateCollection Source
Represents a collection inside an OrchestrateApplication, it stores all data necessary to access it.
data OrchestrateQueryResult Source
Haskell type for the JSON scheme, that is returned by the SEARCH function.
data OrchestratePath Source
Represents a path, as it is returned by the LIST and SEARCH function. Right now it is not actually used, but it might be useful in the future.
data OrchestrateListResult Source
Haskell type for the JSON scheme, that is returned by the LIST function.
resultValuesAsList :: OrchestrateIntermediateResult a => [a] -> [Object] Source