books  v1
Public Member Functions | Static Public Member Functions | List of all members
google_books_api::Annotationdata Class Reference

#include <annotationdata.h>

Inheritance diagram for google_books_api::Annotationdata:

Public Member Functions

 Annotationdata (const Json::Value &storage)
 
 Annotationdata (Json::Value *storage)
 
virtual ~Annotationdata ()
 
const StringPiece GetTypeName () const
 
bool has_annotation_type () const
 
void clear_annotation_type ()
 
const StringPiece get_annotation_type () const
 
void set_annotation_type (const StringPiece &value)
 
bool has_data () const
 
void clear_data ()
 
const client::JsonCppData get_data () const
 
client::JsonCppData mutable_data ()
 
bool has_encoded_data () const
 
void clear_encoded_data ()
 
const StringPiece get_encoded_data () const
 
void set_encoded_data (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_layer_id () const
 
void clear_layer_id ()
 
const StringPiece get_layer_id () const
 
void set_layer_id (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 
bool has_volume_id () const
 
void clear_volume_id ()
 
const StringPiece get_volume_id () const
 
void set_volume_id (const StringPiece &value)
 

Static Public Member Functions

static AnnotationdataNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Annotationdata() [1/2]

google_books_api::Annotationdata::Annotationdata ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Annotationdata() [2/2]

google_books_api::Annotationdata::Annotationdata ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Annotationdata()

google_books_api::Annotationdata::~Annotationdata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_annotation_type()

void google_books_api::Annotationdata::clear_annotation_type ( )
inline

Clears the 'annotationType' attribute.

◆ clear_data()

void google_books_api::Annotationdata::clear_data ( )
inline

Clears the 'data' attribute.

◆ clear_encoded_data()

void google_books_api::Annotationdata::clear_encoded_data ( )
inline

Clears the 'encoded_data' attribute.

◆ clear_id()

void google_books_api::Annotationdata::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_books_api::Annotationdata::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_layer_id()

void google_books_api::Annotationdata::clear_layer_id ( )
inline

Clears the 'layerId' attribute.

◆ clear_self_link()

void google_books_api::Annotationdata::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_updated()

void google_books_api::Annotationdata::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ clear_volume_id()

void google_books_api::Annotationdata::clear_volume_id ( )
inline

Clears the 'volumeId' attribute.

◆ get_annotation_type()

const StringPiece google_books_api::Annotationdata::get_annotation_type ( ) const
inline

Get the value of the 'annotationType' attribute.

◆ get_data()

const client::JsonCppData google_books_api::Annotationdata::get_data ( ) const
inline

Get a reference to the value of the 'data' attribute.

◆ get_encoded_data()

const StringPiece google_books_api::Annotationdata::get_encoded_data ( ) const
inline

Get the value of the 'encoded_data' attribute.

◆ get_id()

const StringPiece google_books_api::Annotationdata::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_books_api::Annotationdata::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_layer_id()

const StringPiece google_books_api::Annotationdata::get_layer_id ( ) const
inline

Get the value of the 'layerId' attribute.

◆ get_self_link()

const StringPiece google_books_api::Annotationdata::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_updated()

client::DateTime google_books_api::Annotationdata::get_updated ( ) const
inline

Get the value of the 'updated' attribute.

◆ get_volume_id()

const StringPiece google_books_api::Annotationdata::get_volume_id ( ) const
inline

Get the value of the 'volumeId' attribute.

◆ GetTypeName()

const StringPiece google_books_api::Annotationdata::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::Annotationdata

◆ has_annotation_type()

bool google_books_api::Annotationdata::has_annotation_type ( ) const
inline

Determine if the 'annotationType' attribute was set.

Returns
true if the 'annotationType' attribute was set.

◆ has_data()

bool google_books_api::Annotationdata::has_data ( ) const
inline

Determine if the 'data' attribute was set.

Returns
true if the 'data' attribute was set.

◆ has_encoded_data()

bool google_books_api::Annotationdata::has_encoded_data ( ) const
inline

Determine if the 'encoded_data' attribute was set.

Returns
true if the 'encoded_data' attribute was set.

◆ has_id()

bool google_books_api::Annotationdata::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_books_api::Annotationdata::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_layer_id()

bool google_books_api::Annotationdata::has_layer_id ( ) const
inline

Determine if the 'layerId' attribute was set.

Returns
true if the 'layerId' attribute was set.

◆ has_self_link()

bool google_books_api::Annotationdata::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_updated()

bool google_books_api::Annotationdata::has_updated ( ) const
inline

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ has_volume_id()

bool google_books_api::Annotationdata::has_volume_id ( ) const
inline

Determine if the 'volumeId' attribute was set.

Returns
true if the 'volumeId' attribute was set.

◆ mutable_data()

client::JsonCppData google_books_api::Annotationdata::mutable_data ( )
inline

Gets a reference to a mutable value of the 'data' property.

Returns
The result can be modified to change the attribute value.

◆ New()

Annotationdata * google_books_api::Annotationdata::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_annotation_type()

void google_books_api::Annotationdata::set_annotation_type ( const StringPiece &  value)
inline

Change the 'annotationType' attribute.

The type of annotation this data is for.

Parameters
[in]valueThe new value.

◆ set_encoded_data()

void google_books_api::Annotationdata::set_encoded_data ( const StringPiece &  value)
inline

Change the 'encoded_data' attribute.

Base64 encoded data for this annotation data.

Parameters
[in]valueThe new value.

◆ set_id()

void google_books_api::Annotationdata::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Unique id for this annotation data.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_books_api::Annotationdata::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Resource Type.

Parameters
[in]valueThe new value.

◆ set_layer_id()

void google_books_api::Annotationdata::set_layer_id ( const StringPiece &  value)
inline

Change the 'layerId' attribute.

The Layer id for this data. *.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_books_api::Annotationdata::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

URL for this resource. *.

Parameters
[in]valueThe new value.

◆ set_updated()

void google_books_api::Annotationdata::set_updated ( client::DateTime  value)
inline

Change the 'updated' attribute.

Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format).

Parameters
[in]valueThe new value.

◆ set_volume_id()

void google_books_api::Annotationdata::set_volume_id ( const StringPiece &  value)
inline

Change the 'volumeId' attribute.

The volume id for this data. *.

Parameters
[in]valueThe new value.

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