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 |
Adds a new style for the table.
See: Fusion Tables API Reference for fusiontables.style.insert
.
- type StyleInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` StyleSetting :> Post `[JSON]` StyleSetting))))))
- styleInsert :: StyleSetting -> Text -> StyleInsert
- data StyleInsert
- siPayload :: Lens' StyleInsert StyleSetting
- siTableId :: Lens' StyleInsert Text
REST Resource
type StyleInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("styles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` StyleSetting :> Post `[JSON]` StyleSetting)))))) Source
A resource alias for fusiontables.style.insert
method which the
StyleInsert
request conforms to.
Creating a Request
Creates a value of StyleInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StyleInsert Source
Adds a new style for the table.
See: styleInsert
smart constructor.
Request Lenses
siPayload :: Lens' StyleInsert StyleSetting Source
Multipart request metadata.
siTableId :: Lens' StyleInsert Text Source
Table for which a new style is being added