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 |
Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.
See: Books API Reference for books.myconfig.updateUserSettings
.
Synopsis
- type MyConfigUpdateUserSettingsResource = "books" :> ("v1" :> ("myconfig" :> ("updateUserSettings" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserSettings :> Post '[JSON] UserSettings)))))
- myConfigUpdateUserSettings :: UserSettings -> MyConfigUpdateUserSettings
- data MyConfigUpdateUserSettings
- mcuusPayload :: Lens' MyConfigUpdateUserSettings UserSettings
REST Resource
type MyConfigUpdateUserSettingsResource = "books" :> ("v1" :> ("myconfig" :> ("updateUserSettings" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserSettings :> Post '[JSON] UserSettings))))) Source #
A resource alias for books.myconfig.updateUserSettings
method which the
MyConfigUpdateUserSettings
request conforms to.
Creating a Request
myConfigUpdateUserSettings Source #
Creates a value of MyConfigUpdateUserSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyConfigUpdateUserSettings Source #
Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.
See: myConfigUpdateUserSettings
smart constructor.
Instances
Request Lenses
mcuusPayload :: Lens' MyConfigUpdateUserSettings UserSettings Source #
Multipart request metadata.