#include <concurrent_access_restriction.h>
◆ ConcurrentAccessRestriction() [1/2]
| google_books_api::ConcurrentAccessRestriction::ConcurrentAccessRestriction |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ConcurrentAccessRestriction()
| google_books_api::ConcurrentAccessRestriction::~ConcurrentAccessRestriction |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_kind()
| void google_books_api::ConcurrentAccessRestriction::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Resource type.
- Parameters
-
◆ 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
-
◆ set_message()
| void google_books_api::ConcurrentAccessRestriction::set_message |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'message' attribute.
Error/warning message.
- Parameters
-
◆ 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
-
◆ set_reason_code()
| void google_books_api::ConcurrentAccessRestriction::set_reason_code |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'reasonCode' attribute.
Error/warning reason code.
- Parameters
-
◆ 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
-
◆ set_signature()
| void google_books_api::ConcurrentAccessRestriction::set_signature |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'signature' attribute.
Response signature.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: