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 shelf. Returns NOT_FOUND if the shelf does not exist.
See: Library Agent API Reference for libraryagent.shelves.get
.
Synopsis
- type ShelvesGetResource = "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] GoogleExampleLibraryagentV1Shelf)))))))
- shelvesGet :: Text -> ShelvesGet
- data ShelvesGet
- sgXgafv :: Lens' ShelvesGet (Maybe Xgafv)
- sgUploadProtocol :: Lens' ShelvesGet (Maybe Text)
- sgAccessToken :: Lens' ShelvesGet (Maybe Text)
- sgUploadType :: Lens' ShelvesGet (Maybe Text)
- sgName :: Lens' ShelvesGet Text
- sgCallback :: Lens' ShelvesGet (Maybe Text)
REST Resource
type ShelvesGetResource = "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] GoogleExampleLibraryagentV1Shelf))))))) Source #
A resource alias for libraryagent.shelves.get
method which the
ShelvesGet
request conforms to.
Creating a Request
:: Text | |
-> ShelvesGet |
Creates a value of ShelvesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ShelvesGet Source #
Gets a shelf. Returns NOT_FOUND if the shelf does not exist.
See: shelvesGet
smart constructor.
Instances
Request Lenses
sgUploadProtocol :: Lens' ShelvesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sgAccessToken :: Lens' ShelvesGet (Maybe Text) Source #
OAuth access token.
sgUploadType :: Lens' ShelvesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sgCallback :: Lens' ShelvesGet (Maybe Text) Source #
JSONP