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 specific template by its id
See: Fusion Tables API Reference for fusiontables.template.get
.
Synopsis
- type TemplateGetResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Template))))))
- templateGet :: Int32 -> Text -> TemplateGet
- data TemplateGet
- temeTemplateId :: Lens' TemplateGet Int32
- temeTableId :: Lens' TemplateGet Text
REST Resource
type TemplateGetResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("templates" :> (Capture "templateId" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Template)))))) Source #
A resource alias for fusiontables.template.get
method which the
TemplateGet
request conforms to.
Creating a Request
Creates a value of TemplateGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TemplateGet Source #
Retrieves a specific template by its id
See: templateGet
smart constructor.
Instances
Request Lenses
temeTemplateId :: Lens' TemplateGet Int32 Source #
Identifier for the template that is being requested
temeTableId :: Lens' TemplateGet Text Source #
Table to which the template belongs