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

#include <books_service.h>

Classes

class  AnnotationDataResource
 
class  VolumeAnnotationsResource
 

Public Member Functions

 LayersResource (BooksService *service)
 
 ~LayersResource ()
 
const AnnotationDataResourceget_annotation_data () const
 
const VolumeAnnotationsResourceget_volume_annotations () const
 
LayersResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &volume_id, const absl::string_view &summary_id) const
 
LayersResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &volume_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ LayersResource()

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

◆ ~LayersResource()

google_books_api::BooksService::LayersResource::~LayersResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_annotation_data()

const AnnotationDataResource& google_books_api::BooksService::LayersResource::get_annotation_data ( ) const
inline

Gets the annotationData resource method factory.

Returns
AnnotationDataResource for creating methods.

◆ get_volume_annotations()

const VolumeAnnotationsResource& google_books_api::BooksService::LayersResource::get_volume_annotations ( ) const
inline

Gets the volumeAnnotations resource method factory.

Returns
VolumeAnnotationsResource for creating methods.

◆ NewGetMethod()

LayersResource_GetMethod * google_books_api::BooksService::LayersResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  volume_id,
const absl::string_view &  summary_id 
) const

Creates a new LayersResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]volume_idThe volume to retrieve layers for.
[in]summary_idThe ID for the layer to get the summary for.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

LayersResource_ListMethod * google_books_api::BooksService::LayersResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  volume_id 
) const

Creates a new LayersResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]volume_idThe volume to retrieve layers for.
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: