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 book. Returns NOT_FOUND if the book does not exist.
See: Library Agent API Reference for libraryagent.shelves.books.get
.
Synopsis
- type ShelvesBooksGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleExampleLibraryagentV1Book)))))))
- shelvesBooksGet :: Text -> ShelvesBooksGet
- data ShelvesBooksGet
- sbgXgafv :: Lens' ShelvesBooksGet (Maybe Xgafv)
- sbgUploadProtocol :: Lens' ShelvesBooksGet (Maybe Text)
- sbgAccessToken :: Lens' ShelvesBooksGet (Maybe Text)
- sbgUploadType :: Lens' ShelvesBooksGet (Maybe Text)
- sbgName :: Lens' ShelvesBooksGet Text
- sbgCallback :: Lens' ShelvesBooksGet (Maybe Text)
REST Resource
type ShelvesBooksGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleExampleLibraryagentV1Book))))))) Source #
A resource alias for libraryagent.shelves.books.get
method which the
ShelvesBooksGet
request conforms to.
Creating a Request
Creates a value of ShelvesBooksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ShelvesBooksGet Source #
Gets a book. Returns NOT_FOUND if the book does not exist.
See: shelvesBooksGet
smart constructor.
Instances
Request Lenses
sbgUploadProtocol :: Lens' ShelvesBooksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sbgAccessToken :: Lens' ShelvesBooksGet (Maybe Text) Source #
OAuth access token.
sbgUploadType :: Lens' ShelvesBooksGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sbgCallback :: Lens' ShelvesBooksGet (Maybe Text) Source #
JSONP