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 |
Release downloaded content access restriction.
See: Books API Reference for books.myconfig.releaseDownloadAccess
.
Synopsis
- type MyConfigReleaseDownloadAccessResource = "books" :> ("v1" :> ("myconfig" :> ("releaseDownloadAccess" :> (QueryParams "volumeIds" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] DownloadAccesses))))))))
- myConfigReleaseDownloadAccess :: Text -> [Text] -> MyConfigReleaseDownloadAccess
- data MyConfigReleaseDownloadAccess
- mcrdaCpksver :: Lens' MyConfigReleaseDownloadAccess Text
- mcrdaLocale :: Lens' MyConfigReleaseDownloadAccess (Maybe Text)
- mcrdaVolumeIds :: Lens' MyConfigReleaseDownloadAccess [Text]
- mcrdaSource :: Lens' MyConfigReleaseDownloadAccess (Maybe Text)
REST Resource
type MyConfigReleaseDownloadAccessResource = "books" :> ("v1" :> ("myconfig" :> ("releaseDownloadAccess" :> (QueryParams "volumeIds" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] DownloadAccesses)))))))) Source #
A resource alias for books.myconfig.releaseDownloadAccess
method which the
MyConfigReleaseDownloadAccess
request conforms to.
Creating a Request
myConfigReleaseDownloadAccess Source #
Creates a value of MyConfigReleaseDownloadAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyConfigReleaseDownloadAccess Source #
Release downloaded content access restriction.
See: myConfigReleaseDownloadAccess
smart constructor.
Instances
Request Lenses
mcrdaCpksver :: Lens' MyConfigReleaseDownloadAccess Text Source #
The device/version ID from which to release the restriction.
mcrdaLocale :: Lens' MyConfigReleaseDownloadAccess (Maybe Text) Source #
ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
mcrdaVolumeIds :: Lens' MyConfigReleaseDownloadAccess [Text] Source #
The volume(s) to release restrictions for.
mcrdaSource :: Lens' MyConfigReleaseDownloadAccess (Maybe Text) Source #
String to identify the originator of this request.