gogol-libraryagent-0.5.0: Google Library Agent 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.LibraryAgent.Shelves.List

Contents

Description

Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.

See: Library Agent API Reference for libraryagent.shelves.list.

Synopsis

REST Resource

type ShelvesListResource = "v1" :> ("shelves" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleExampleLibraryagentV1ListShelvesResponse))))))))) Source #

A resource alias for libraryagent.shelves.list method which the ShelvesList request conforms to.

Creating a Request

shelvesList :: ShelvesList Source #

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

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

data ShelvesList Source #

Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.

See: shelvesList smart constructor.

Instances
Eq ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Data ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Methods

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

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

toConstr :: ShelvesList -> Constr #

dataTypeOf :: ShelvesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Generic ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Associated Types

type Rep ShelvesList :: Type -> Type #

GoogleRequest ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Associated Types

type Rs ShelvesList :: Type #

type Scopes ShelvesList :: [Symbol] #

type Rep ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

type Rep ShelvesList = D1 (MetaData "ShelvesList" "Network.Google.Resource.LibraryAgent.Shelves.List" "gogol-libraryagent-0.5.0-ABFNalJCWDPDh1KGwHT6k9" False) (C1 (MetaCons "ShelvesList'" PrefixI True) ((S1 (MetaSel (Just "_slXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_slUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_slUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_slPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_slCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

type Scopes ShelvesList = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ShelvesList Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.List

Request Lenses

slXgafv :: Lens' ShelvesList (Maybe Xgafv) Source #

V1 error format.

slUploadProtocol :: Lens' ShelvesList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

slAccessToken :: Lens' ShelvesList (Maybe Text) Source #

OAuth access token.

slUploadType :: Lens' ShelvesList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

slPageToken :: Lens' ShelvesList (Maybe Text) Source #

A token identifying a page of results the server should return. Typically, this is the value of ListShelvesResponse.next_page_token returned from the previous call to `ListShelves` method.

slPageSize :: Lens' ShelvesList (Maybe Int32) Source #

Requested page size. Server may return fewer shelves than requested. If unspecified, server will pick an appropriate default.