books  v1
Classes | Public Member Functions | List of all members
google_books_api::BooksService::BookshelvesResource Class Reference

#include <books_service.h>

Classes

class  VolumesResource
 

Public Member Functions

 BookshelvesResource (BooksService *service)
 
 ~BookshelvesResource ()
 
const VolumesResourceget_volumes () const
 
BookshelvesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id, const absl::string_view &shelf) const
 
BookshelvesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ BookshelvesResource()

google_books_api::BooksService::BookshelvesResource::BookshelvesResource ( BooksService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~BookshelvesResource()

google_books_api::BooksService::BookshelvesResource::~BookshelvesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_volumes()

const VolumesResource& google_books_api::BooksService::BookshelvesResource::get_volumes ( ) const
inline

Gets the volumes resource method factory.

Returns
VolumesResource for creating methods.

◆ NewGetMethod()

BookshelvesResource_GetMethod * google_books_api::BooksService::BookshelvesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  user_id,
const absl::string_view &  shelf 
) const

Creates a new BookshelvesResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]user_idID of user for whom to retrieve bookshelves.
[in]shelfID of bookshelf to retrieve.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

BookshelvesResource_ListMethod * google_books_api::BooksService::BookshelvesResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  user_id 
) const

Creates a new BookshelvesResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]user_idID of user for whom to retrieve bookshelves.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: