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 |
Gets a single setting by ID.
See: Google Mirror API Reference for mirror.settings.get
.
Synopsis
- type SettingsGetResource = "mirror" :> ("v1" :> ("settings" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Setting))))
- settingsGet :: Text -> SettingsGet
- data SettingsGet
- sgId :: Lens' SettingsGet Text
REST Resource
type SettingsGetResource = "mirror" :> ("v1" :> ("settings" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Setting)))) Source #
A resource alias for mirror.settings.get
method which the
SettingsGet
request conforms to.
Creating a Request
:: Text | |
-> SettingsGet |
Creates a value of SettingsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SettingsGet Source #
Gets a single setting by ID.
See: settingsGet
smart constructor.
Instances
Request Lenses
sgId :: Lens' SettingsGet Text Source #
The ID of the setting. The following IDs are valid: - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. - timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles.