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

#include <annotation.h>

Inheritance diagram for google_books_api::Annotation::AnnotationLayerSummary:

Public Member Functions

 AnnotationLayerSummary (const Json::Value &storage)
 
 AnnotationLayerSummary (Json::Value *storage)
 
virtual ~AnnotationLayerSummary ()
 
const StringPiece GetTypeName () const
 
bool has_allowed_character_count () const
 
void clear_allowed_character_count ()
 
int32 get_allowed_character_count () const
 
void set_allowed_character_count (int32 value)
 
bool has_limit_type () const
 
void clear_limit_type ()
 
const StringPiece get_limit_type () const
 
void set_limit_type (const StringPiece &value)
 
bool has_remaining_character_count () const
 
void clear_remaining_character_count ()
 
int32 get_remaining_character_count () const
 
void set_remaining_character_count (int32 value)
 

Static Public Member Functions

static AnnotationLayerSummaryNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AnnotationLayerSummary() [1/2]

google_books_api::Annotation::AnnotationLayerSummary::AnnotationLayerSummary ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AnnotationLayerSummary() [2/2]

google_books_api::Annotation::AnnotationLayerSummary::AnnotationLayerSummary ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AnnotationLayerSummary()

google_books_api::Annotation::AnnotationLayerSummary::~AnnotationLayerSummary ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_allowed_character_count()

void google_books_api::Annotation::AnnotationLayerSummary::clear_allowed_character_count ( )
inline

Clears the 'allowedCharacterCount' attribute.

◆ clear_limit_type()

void google_books_api::Annotation::AnnotationLayerSummary::clear_limit_type ( )
inline

Clears the 'limitType' attribute.

◆ clear_remaining_character_count()

void google_books_api::Annotation::AnnotationLayerSummary::clear_remaining_character_count ( )
inline

Clears the 'remainingCharacterCount' attribute.

◆ get_allowed_character_count()

int32 google_books_api::Annotation::AnnotationLayerSummary::get_allowed_character_count ( ) const
inline

Get the value of the 'allowedCharacterCount' attribute.

◆ get_limit_type()

const StringPiece google_books_api::Annotation::AnnotationLayerSummary::get_limit_type ( ) const
inline

Get the value of the 'limitType' attribute.

◆ get_remaining_character_count()

int32 google_books_api::Annotation::AnnotationLayerSummary::get_remaining_character_count ( ) const
inline

Get the value of the 'remainingCharacterCount' attribute.

◆ GetTypeName()

const StringPiece google_books_api::Annotation::AnnotationLayerSummary::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::AnnotationLayerSummary

◆ has_allowed_character_count()

bool google_books_api::Annotation::AnnotationLayerSummary::has_allowed_character_count ( ) const
inline

Determine if the 'allowedCharacterCount' attribute was set.

Returns
true if the 'allowedCharacterCount' attribute was set.

◆ has_limit_type()

bool google_books_api::Annotation::AnnotationLayerSummary::has_limit_type ( ) const
inline

Determine if the 'limitType' attribute was set.

Returns
true if the 'limitType' attribute was set.

◆ has_remaining_character_count()

bool google_books_api::Annotation::AnnotationLayerSummary::has_remaining_character_count ( ) const
inline

Determine if the 'remainingCharacterCount' attribute was set.

Returns
true if the 'remainingCharacterCount' attribute was set.

◆ New()

Annotation::AnnotationLayerSummary * google_books_api::Annotation::AnnotationLayerSummary::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_allowed_character_count()

void google_books_api::Annotation::AnnotationLayerSummary::set_allowed_character_count ( int32  value)
inline

Change the 'allowedCharacterCount' attribute.

Maximum allowed characters on this layer, especially for the "copy" layer.

Parameters
[in]valueThe new value.

◆ set_limit_type()

void google_books_api::Annotation::AnnotationLayerSummary::set_limit_type ( const StringPiece &  value)
inline

Change the 'limitType' attribute.

Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer.

Parameters
[in]valueThe new value.

◆ set_remaining_character_count()

void google_books_api::Annotation::AnnotationLayerSummary::set_remaining_character_count ( int32  value)
inline

Change the 'remainingCharacterCount' attribute.

Remaining allowed characters on this layer, especially for the "copy" layer.

Parameters
[in]valueThe new value.

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