Copyright | (c) Adrian Dawid 2015 |
---|---|
License | BSD3 |
Maintainer | adriandwd@gmail.com |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Database.Orchestrate.Types
Description
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.
Constructors
OrchestrateApplication | |
Fields
|
data OrchestrateCollection Source
Represents a collection inside an OrchestrateApplication, it stores all data necessary to access it.
Constructors
OrchestrateCollection | |
Fields |
data OrchestrateQueryResult Source
Haskell type for the JSON scheme, that is returned by the SEARCH function.
Constructors
OrchestrateQueryResult | |
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.
Constructors
OrchestratePath | |
data OrchestrateListResult Source
Haskell type for the JSON scheme, that is returned by the LIST function.
Constructors
OrchestrateListResult | |
resultValuesAsList :: OrchestrateIntermediateResult a => [a] -> [Object] Source