gogol-books-0.2.0: Google Books SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Books.Bookshelves.Get

Contents

Description

Retrieves metadata for a specific bookshelf for the specified user.

See: Books API Reference for books.bookshelves.get.

Synopsis

REST Resource

type BookshelvesGetResource = "books" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("bookshelves" :> (Capture "shelf" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Bookshelf))))))) Source #

A resource alias for books.bookshelves.get method which the BookshelvesGet request conforms to.

Creating a Request

bookshelvesGet Source #

Creates a value of BookshelvesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BookshelvesGet Source #

Retrieves metadata for a specific bookshelf for the specified user.

See: bookshelvesGet smart constructor.

Instances

Eq BookshelvesGet Source # 
Data BookshelvesGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BookshelvesGet -> c BookshelvesGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BookshelvesGet #

toConstr :: BookshelvesGet -> Constr #

dataTypeOf :: BookshelvesGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BookshelvesGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BookshelvesGet) #

gmapT :: (forall b. Data b => b -> b) -> BookshelvesGet -> BookshelvesGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BookshelvesGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BookshelvesGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> BookshelvesGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BookshelvesGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BookshelvesGet -> m BookshelvesGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BookshelvesGet -> m BookshelvesGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BookshelvesGet -> m BookshelvesGet #

Show BookshelvesGet Source # 
Generic BookshelvesGet Source # 

Associated Types

type Rep BookshelvesGet :: * -> * #

GoogleRequest BookshelvesGet Source # 
type Rep BookshelvesGet Source # 
type Rep BookshelvesGet = D1 (MetaData "BookshelvesGet" "Network.Google.Resource.Books.Bookshelves.Get" "gogol-books-0.2.0-5Ye9jkpXNyYIQzuxFUGse4" False) (C1 (MetaCons "BookshelvesGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bgUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_bgShelf") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bgSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BookshelvesGet Source # 
type Scopes BookshelvesGet = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs BookshelvesGet Source # 

Request Lenses

bgUserId :: Lens' BookshelvesGet Text Source #

ID of user for whom to retrieve bookshelves.

bgShelf :: Lens' BookshelvesGet Text Source #

ID of bookshelf to retrieve.

bgSource :: Lens' BookshelvesGet (Maybe Text) Source #

String to identify the originator of this request.