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

#include <concurrent_access_restriction.h>

Inheritance diagram for google_books_api::ConcurrentAccessRestriction:

Public Member Functions

 ConcurrentAccessRestriction (const Json::Value &storage)
 
 ConcurrentAccessRestriction (Json::Value *storage)
 
virtual ~ConcurrentAccessRestriction ()
 
const StringPiece GetTypeName () const
 
bool has_device_allowed () const
 
void clear_device_allowed ()
 
bool get_device_allowed () const
 
void set_device_allowed (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_max_concurrent_devices () const
 
void clear_max_concurrent_devices ()
 
int32 get_max_concurrent_devices () const
 
void set_max_concurrent_devices (int32 value)
 
bool has_message () const
 
void clear_message ()
 
const StringPiece get_message () const
 
void set_message (const StringPiece &value)
 
bool has_nonce () const
 
void clear_nonce ()
 
const StringPiece get_nonce () const
 
void set_nonce (const StringPiece &value)
 
bool has_reason_code () const
 
void clear_reason_code ()
 
const StringPiece get_reason_code () const
 
void set_reason_code (const StringPiece &value)
 
bool has_restricted () const
 
void clear_restricted ()
 
bool get_restricted () const
 
void set_restricted (bool value)
 
bool has_signature () const
 
void clear_signature ()
 
const StringPiece get_signature () const
 
void set_signature (const StringPiece &value)
 
bool has_source () const
 
void clear_source ()
 
const StringPiece get_source () const
 
void set_source (const StringPiece &value)
 
bool has_time_window_seconds () const
 
void clear_time_window_seconds ()
 
int32 get_time_window_seconds () const
 
void set_time_window_seconds (int32 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 ConcurrentAccessRestrictionNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ConcurrentAccessRestriction() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ConcurrentAccessRestriction() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ConcurrentAccessRestriction()

google_books_api::ConcurrentAccessRestriction::~ConcurrentAccessRestriction ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_device_allowed()

void google_books_api::ConcurrentAccessRestriction::clear_device_allowed ( )
inline

Clears the 'deviceAllowed' attribute.

◆ clear_kind()

void google_books_api::ConcurrentAccessRestriction::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_max_concurrent_devices()

void google_books_api::ConcurrentAccessRestriction::clear_max_concurrent_devices ( )
inline

Clears the 'maxConcurrentDevices' attribute.

◆ clear_message()

void google_books_api::ConcurrentAccessRestriction::clear_message ( )
inline

Clears the 'message' attribute.

◆ clear_nonce()

void google_books_api::ConcurrentAccessRestriction::clear_nonce ( )
inline

Clears the 'nonce' attribute.

◆ clear_reason_code()

void google_books_api::ConcurrentAccessRestriction::clear_reason_code ( )
inline

Clears the 'reasonCode' attribute.

◆ clear_restricted()

void google_books_api::ConcurrentAccessRestriction::clear_restricted ( )
inline

Clears the 'restricted' attribute.

◆ clear_signature()

void google_books_api::ConcurrentAccessRestriction::clear_signature ( )
inline

Clears the 'signature' attribute.

◆ clear_source()

void google_books_api::ConcurrentAccessRestriction::clear_source ( )
inline

Clears the 'source' attribute.

◆ clear_time_window_seconds()

void google_books_api::ConcurrentAccessRestriction::clear_time_window_seconds ( )
inline

Clears the 'timeWindowSeconds' attribute.

◆ clear_volume_id()

void google_books_api::ConcurrentAccessRestriction::clear_volume_id ( )
inline

Clears the 'volumeId' attribute.

◆ get_device_allowed()

bool google_books_api::ConcurrentAccessRestriction::get_device_allowed ( ) const
inline

Get the value of the 'deviceAllowed' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_max_concurrent_devices()

int32 google_books_api::ConcurrentAccessRestriction::get_max_concurrent_devices ( ) const
inline

Get the value of the 'maxConcurrentDevices' attribute.

◆ get_message()

const StringPiece google_books_api::ConcurrentAccessRestriction::get_message ( ) const
inline

Get the value of the 'message' attribute.

◆ get_nonce()

const StringPiece google_books_api::ConcurrentAccessRestriction::get_nonce ( ) const
inline

Get the value of the 'nonce' attribute.

◆ get_reason_code()

const StringPiece google_books_api::ConcurrentAccessRestriction::get_reason_code ( ) const
inline

Get the value of the 'reasonCode' attribute.

◆ get_restricted()

bool google_books_api::ConcurrentAccessRestriction::get_restricted ( ) const
inline

Get the value of the 'restricted' attribute.

◆ get_signature()

const StringPiece google_books_api::ConcurrentAccessRestriction::get_signature ( ) const
inline

Get the value of the 'signature' attribute.

◆ get_source()

const StringPiece google_books_api::ConcurrentAccessRestriction::get_source ( ) const
inline

Get the value of the 'source' attribute.

◆ get_time_window_seconds()

int32 google_books_api::ConcurrentAccessRestriction::get_time_window_seconds ( ) const
inline

Get the value of the 'timeWindowSeconds' attribute.

◆ get_volume_id()

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

Get the value of the 'volumeId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_books_api::ConcurrentAccessRestriction

◆ has_device_allowed()

bool google_books_api::ConcurrentAccessRestriction::has_device_allowed ( ) const
inline

Determine if the 'deviceAllowed' attribute was set.

Returns
true if the 'deviceAllowed' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_max_concurrent_devices()

bool google_books_api::ConcurrentAccessRestriction::has_max_concurrent_devices ( ) const
inline

Determine if the 'maxConcurrentDevices' attribute was set.

Returns
true if the 'maxConcurrentDevices' attribute was set.

◆ has_message()

bool google_books_api::ConcurrentAccessRestriction::has_message ( ) const
inline

Determine if the 'message' attribute was set.

Returns
true if the 'message' attribute was set.

◆ has_nonce()

bool google_books_api::ConcurrentAccessRestriction::has_nonce ( ) const
inline

Determine if the 'nonce' attribute was set.

Returns
true if the 'nonce' attribute was set.

◆ has_reason_code()

bool google_books_api::ConcurrentAccessRestriction::has_reason_code ( ) const
inline

Determine if the 'reasonCode' attribute was set.

Returns
true if the 'reasonCode' attribute was set.

◆ has_restricted()

bool google_books_api::ConcurrentAccessRestriction::has_restricted ( ) const
inline

Determine if the 'restricted' attribute was set.

Returns
true if the 'restricted' attribute was set.

◆ has_signature()

bool google_books_api::ConcurrentAccessRestriction::has_signature ( ) const
inline

Determine if the 'signature' attribute was set.

Returns
true if the 'signature' attribute was set.

◆ has_source()

bool google_books_api::ConcurrentAccessRestriction::has_source ( ) const
inline

Determine if the 'source' attribute was set.

Returns
true if the 'source' attribute was set.

◆ has_time_window_seconds()

bool google_books_api::ConcurrentAccessRestriction::has_time_window_seconds ( ) const
inline

Determine if the 'timeWindowSeconds' attribute was set.

Returns
true if the 'timeWindowSeconds' attribute was set.

◆ has_volume_id()

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

Determine if the 'volumeId' attribute was set.

Returns
true if the 'volumeId' attribute was set.

◆ New()

ConcurrentAccessRestriction * google_books_api::ConcurrentAccessRestriction::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_device_allowed()

void google_books_api::ConcurrentAccessRestriction::set_device_allowed ( bool  value)
inline

Change the 'deviceAllowed' attribute.

Whether access is granted for this (user, device, volume).

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type.

Parameters
[in]valueThe new value.

◆ set_max_concurrent_devices()

void google_books_api::ConcurrentAccessRestriction::set_max_concurrent_devices ( int32  value)
inline

Change the 'maxConcurrentDevices' attribute.

The maximum number of concurrent access licenses for this volume.

Parameters
[in]valueThe new value.

◆ set_message()

void google_books_api::ConcurrentAccessRestriction::set_message ( const StringPiece &  value)
inline

Change the 'message' attribute.

Error/warning message.

Parameters
[in]valueThe new value.

◆ set_nonce()

void google_books_api::ConcurrentAccessRestriction::set_nonce ( const StringPiece &  value)
inline

Change the 'nonce' attribute.

Client nonce for verification. Download access and client-validation only.

Parameters
[in]valueThe new value.

◆ set_reason_code()

void google_books_api::ConcurrentAccessRestriction::set_reason_code ( const StringPiece &  value)
inline

Change the 'reasonCode' attribute.

Error/warning reason code.

Parameters
[in]valueThe new value.

◆ set_restricted()

void google_books_api::ConcurrentAccessRestriction::set_restricted ( bool  value)
inline

Change the 'restricted' attribute.

Whether this volume has any concurrent access restrictions.

Parameters
[in]valueThe new value.

◆ set_signature()

void google_books_api::ConcurrentAccessRestriction::set_signature ( const StringPiece &  value)
inline

Change the 'signature' attribute.

Response signature.

Parameters
[in]valueThe new value.

◆ set_source()

void google_books_api::ConcurrentAccessRestriction::set_source ( const StringPiece &  value)
inline

Change the 'source' attribute.

Client app identifier for verification. Download access and client- validation only.

Parameters
[in]valueThe new value.

◆ set_time_window_seconds()

void google_books_api::ConcurrentAccessRestriction::set_time_window_seconds ( int32  value)
inline

Change the 'timeWindowSeconds' attribute.

Time in seconds for license auto-expiration.

Parameters
[in]valueThe new value.

◆ set_volume_id()

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

Change the 'volumeId' attribute.

Identifies the volume for which this entry applies.

Parameters
[in]valueThe new value.

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