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

#include <books_service.h>

Classes

class  AssociatedResource
 
class  MybooksResource
 
class  RecommendedResource
 
class  UseruploadedResource
 

Public Member Functions

 VolumesResource (BooksService *service)
 
 ~VolumesResource ()
 
const AssociatedResourceget_associated () const
 
const MybooksResourceget_mybooks () const
 
const RecommendedResourceget_recommended () const
 
const UseruploadedResourceget_useruploaded () const
 
VolumesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &volume_id) const
 
VolumesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &q) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ VolumesResource()

google_books_api::BooksService::VolumesResource::VolumesResource ( 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.

◆ ~VolumesResource()

google_books_api::BooksService::VolumesResource::~VolumesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_associated()

const AssociatedResource& google_books_api::BooksService::VolumesResource::get_associated ( ) const
inline

Gets the associated resource method factory.

Returns
AssociatedResource for creating methods.

◆ get_mybooks()

const MybooksResource& google_books_api::BooksService::VolumesResource::get_mybooks ( ) const
inline

Gets the mybooks resource method factory.

Returns
MybooksResource for creating methods.

◆ get_recommended()

const RecommendedResource& google_books_api::BooksService::VolumesResource::get_recommended ( ) const
inline

Gets the recommended resource method factory.

Returns
RecommendedResource for creating methods.

◆ get_useruploaded()

const UseruploadedResource& google_books_api::BooksService::VolumesResource::get_useruploaded ( ) const
inline

Gets the useruploaded resource method factory.

Returns
UseruploadedResource for creating methods.

◆ NewGetMethod()

VolumesResource_GetMethod * google_books_api::BooksService::VolumesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  volume_id 
) const

Creates a new VolumesResource_GetMethod instance.

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

◆ NewListMethod()

VolumesResource_ListMethod * google_books_api::BooksService::VolumesResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  q 
) const

Creates a new VolumesResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]qFull-text search query string.
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: