Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all the states keys, and optionally the state data.
See: Google App State API Reference for appstate.states.list
.
- type StatesListResource = "appstate" :> ("v1" :> ("states" :> (QueryParam "includeData" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListResponse))))
- statesList :: StatesList
- data StatesList
- slIncludeData :: Lens' StatesList Bool
REST Resource
type StatesListResource = "appstate" :> ("v1" :> ("states" :> (QueryParam "includeData" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListResponse)))) Source
A resource alias for appstate.states.list
method which the
StatesList
request conforms to.
Creating a Request
statesList :: StatesList Source
Creates a value of StatesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StatesList Source
Lists all the states keys, and optionally the state data.
See: statesList
smart constructor.
Request Lenses
slIncludeData :: Lens' StatesList Bool Source
Whether to include the full data in addition to the version number