#include <metadata.h>
◆ MetadataItems() [1/2]
google_books_api::Metadata::MetadataItems::MetadataItems |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ MetadataItems() [2/2]
google_books_api::Metadata::MetadataItems::MetadataItems |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~MetadataItems()
google_books_api::Metadata::MetadataItems::~MetadataItems |
( |
| ) |
|
|
virtual |
◆ clear_download_url()
void google_books_api::Metadata::MetadataItems::clear_download_url |
( |
| ) |
|
|
inline |
Clears the 'download_url
' attribute.
◆ clear_encrypted_key()
void google_books_api::Metadata::MetadataItems::clear_encrypted_key |
( |
| ) |
|
|
inline |
Clears the 'encrypted_key
' attribute.
◆ clear_language()
void google_books_api::Metadata::MetadataItems::clear_language |
( |
| ) |
|
|
inline |
Clears the 'language
' attribute.
◆ clear_size()
void google_books_api::Metadata::MetadataItems::clear_size |
( |
| ) |
|
|
inline |
Clears the 'size
' attribute.
◆ clear_version()
void google_books_api::Metadata::MetadataItems::clear_version |
( |
| ) |
|
|
inline |
Clears the 'version
' attribute.
◆ get_download_url()
const StringPiece google_books_api::Metadata::MetadataItems::get_download_url |
( |
| ) |
const |
|
inline |
Get the value of the 'download_url
' attribute.
◆ get_encrypted_key()
const StringPiece google_books_api::Metadata::MetadataItems::get_encrypted_key |
( |
| ) |
const |
|
inline |
Get the value of the 'encrypted_key
' attribute.
◆ get_language()
const StringPiece google_books_api::Metadata::MetadataItems::get_language |
( |
| ) |
const |
|
inline |
Get the value of the 'language
' attribute.
◆ get_size()
int64 google_books_api::Metadata::MetadataItems::get_size |
( |
| ) |
const |
|
inline |
Get the value of the 'size
' attribute.
◆ get_version()
int64 google_books_api::Metadata::MetadataItems::get_version |
( |
| ) |
const |
|
inline |
Get the value of the 'version
' attribute.
◆ GetTypeName()
const StringPiece google_books_api::Metadata::MetadataItems::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_books_api::MetadataItems
◆ has_download_url()
bool google_books_api::Metadata::MetadataItems::has_download_url |
( |
| ) |
const |
|
inline |
Determine if the 'download_url
' attribute was set.
- Returns
- true if the '
download_url
' attribute was set.
◆ has_encrypted_key()
bool google_books_api::Metadata::MetadataItems::has_encrypted_key |
( |
| ) |
const |
|
inline |
Determine if the 'encrypted_key
' attribute was set.
- Returns
- true if the '
encrypted_key
' attribute was set.
◆ has_language()
bool google_books_api::Metadata::MetadataItems::has_language |
( |
| ) |
const |
|
inline |
Determine if the 'language
' attribute was set.
- Returns
- true if the '
language
' attribute was set.
◆ has_size()
bool google_books_api::Metadata::MetadataItems::has_size |
( |
| ) |
const |
|
inline |
Determine if the 'size
' attribute was set.
- Returns
- true if the '
size
' attribute was set.
◆ has_version()
bool google_books_api::Metadata::MetadataItems::has_version |
( |
| ) |
const |
|
inline |
Determine if the 'version
' attribute was set.
- Returns
- true if the '
version
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_download_url()
void google_books_api::Metadata::MetadataItems::set_download_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'download_url
' attribute.
- Parameters
-
◆ set_encrypted_key()
void google_books_api::Metadata::MetadataItems::set_encrypted_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'encrypted_key
' attribute.
- Parameters
-
◆ set_language()
void google_books_api::Metadata::MetadataItems::set_language |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'language
' attribute.
- Parameters
-
◆ set_size()
void google_books_api::Metadata::MetadataItems::set_size |
( |
int64 |
value | ) |
|
|
inline |
Change the 'size
' attribute.
- Parameters
-
◆ set_version()
void google_books_api::Metadata::MetadataItems::set_version |
( |
int64 |
value | ) |
|
|
inline |
Change the 'version
' attribute.
- Parameters
-
The documentation for this class was generated from the following files:
- google/books_api/metadata.h
- google/books_api/metadata.cc