|
books
v1
|
#include <books_service.h>
Classes | |
| class | VolumesResource |
Public Member Functions | |
| BookshelvesResource (BooksService *service) | |
| ~BookshelvesResource () | |
| const VolumesResource & | get_volumes () const |
| BookshelvesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id, const absl::string_view &shelf) const |
| BookshelvesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
|
inline |
Gets the volumes resource method factory.
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | user_id | ID of user for whom to retrieve bookshelves. |
| [in] | shelf | ID of bookshelf to retrieve. |
Execute the method instance, then destroy it when they are finished. | BookshelvesResource_ListMethod * google_books_api::BooksService::BookshelvesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | user_id | ||
| ) | const |
Creates a new BookshelvesResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | user_id | ID of user for whom to retrieve bookshelves. |
Execute the method instance, then destroy it when they are finished.