Copyright | (c) 2015-2016 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 |
Retrieves a list of templates.
See: Fusion Tables API Reference for fusiontables.template.list
.
Synopsis
- type TemplateListResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TemplateList)))))))
- templateList' :: Text -> TemplateList'
- data TemplateList'
- tllPageToken :: Lens' TemplateList' (Maybe Text)
- tllTableId :: Lens' TemplateList' Text
- tllMaxResults :: Lens' TemplateList' (Maybe Word32)
REST Resource
type TemplateListResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TemplateList))))))) Source #
A resource alias for fusiontables.template.list
method which the
TemplateList'
request conforms to.
Creating a Request
Creates a value of TemplateList'
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TemplateList' Source #
Retrieves a list of templates.
See: templateList'
smart constructor.
Instances
Request Lenses
tllPageToken :: Lens' TemplateList' (Maybe Text) Source #
Continuation token specifying which results page to return. Optional.
tllTableId :: Lens' TemplateList' Text Source #
Identifier for the table whose templates are being requested
tllMaxResults :: Lens' TemplateList' (Maybe Word32) Source #
Maximum number of templates to return. Optional. Default is 5.