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 |
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
- 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)))))))))
- shelvesList :: ShelvesList
- data ShelvesList
- slXgafv :: Lens' ShelvesList (Maybe Xgafv)
- slUploadProtocol :: Lens' ShelvesList (Maybe Text)
- slAccessToken :: Lens' ShelvesList (Maybe Text)
- slUploadType :: Lens' ShelvesList (Maybe Text)
- slPageToken :: Lens' ShelvesList (Maybe Text)
- slPageSize :: Lens' ShelvesList (Maybe Int32)
- slCallback :: Lens' ShelvesList (Maybe Text)
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
Request Lenses
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.
slCallback :: Lens' ShelvesList (Maybe Text) Source #
JSONP