#include <annotation.h>
◆ Annotation() [1/2]
| google_books_api::Annotation::Annotation |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Annotation() [2/2]
| google_books_api::Annotation::Annotation |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Annotation()
| google_books_api::Annotation::~Annotation |
( |
| ) |
|
|
virtual |
◆ clear_after_selected_text()
| void google_books_api::Annotation::clear_after_selected_text |
( |
| ) |
|
|
inline |
Clears the 'afterSelectedText' attribute.
◆ clear_before_selected_text()
| void google_books_api::Annotation::clear_before_selected_text |
( |
| ) |
|
|
inline |
Clears the 'beforeSelectedText' attribute.
◆ clear_client_version_ranges()
| void google_books_api::Annotation::clear_client_version_ranges |
( |
| ) |
|
|
inline |
Clears the 'clientVersionRanges' attribute.
◆ clear_created()
| void google_books_api::Annotation::clear_created |
( |
| ) |
|
|
inline |
Clears the 'created' attribute.
◆ clear_current_version_ranges()
| void google_books_api::Annotation::clear_current_version_ranges |
( |
| ) |
|
|
inline |
Clears the 'currentVersionRanges' attribute.
◆ clear_data()
| void google_books_api::Annotation::clear_data |
( |
| ) |
|
|
inline |
Clears the 'data' attribute.
◆ clear_deleted()
| void google_books_api::Annotation::clear_deleted |
( |
| ) |
|
|
inline |
Clears the 'deleted' attribute.
◆ clear_highlight_style()
| void google_books_api::Annotation::clear_highlight_style |
( |
| ) |
|
|
inline |
Clears the 'highlightStyle' attribute.
◆ clear_id()
| void google_books_api::Annotation::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_books_api::Annotation::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_layer_id()
| void google_books_api::Annotation::clear_layer_id |
( |
| ) |
|
|
inline |
Clears the 'layerId' attribute.
◆ clear_layer_summary()
| void google_books_api::Annotation::clear_layer_summary |
( |
| ) |
|
|
inline |
Clears the 'layerSummary' attribute.
◆ clear_page_ids()
| void google_books_api::Annotation::clear_page_ids |
( |
| ) |
|
|
inline |
Clears the 'pageIds' attribute.
◆ clear_selected_text()
| void google_books_api::Annotation::clear_selected_text |
( |
| ) |
|
|
inline |
Clears the 'selectedText' attribute.
◆ clear_self_link()
| void google_books_api::Annotation::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink' attribute.
◆ clear_updated()
| void google_books_api::Annotation::clear_updated |
( |
| ) |
|
|
inline |
Clears the 'updated' attribute.
◆ clear_volume_id()
| void google_books_api::Annotation::clear_volume_id |
( |
| ) |
|
|
inline |
Clears the 'volumeId' attribute.
◆ get_after_selected_text()
| const StringPiece google_books_api::Annotation::get_after_selected_text |
( |
| ) |
const |
|
inline |
Get the value of the 'afterSelectedText' attribute.
◆ get_before_selected_text()
| const StringPiece google_books_api::Annotation::get_before_selected_text |
( |
| ) |
const |
|
inline |
Get the value of the 'beforeSelectedText' attribute.
◆ get_client_version_ranges()
Get a reference to the value of the 'clientVersionRanges' attribute.
◆ get_created()
| client::DateTime google_books_api::Annotation::get_created |
( |
| ) |
const |
|
inline |
Get the value of the 'created' attribute.
◆ get_current_version_ranges()
Get a reference to the value of the 'currentVersionRanges' attribute.
◆ get_data()
| const StringPiece google_books_api::Annotation::get_data |
( |
| ) |
const |
|
inline |
Get the value of the 'data' attribute.
◆ get_deleted()
| bool google_books_api::Annotation::get_deleted |
( |
| ) |
const |
|
inline |
Get the value of the 'deleted' attribute.
◆ get_highlight_style()
| const StringPiece google_books_api::Annotation::get_highlight_style |
( |
| ) |
const |
|
inline |
Get the value of the 'highlightStyle' attribute.
◆ get_id()
| const StringPiece google_books_api::Annotation::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_books_api::Annotation::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_layer_id()
| const StringPiece google_books_api::Annotation::get_layer_id |
( |
| ) |
const |
|
inline |
Get the value of the 'layerId' attribute.
◆ get_layer_summary()
Get a reference to the value of the 'layerSummary' attribute.
◆ get_page_ids()
| const client::JsonCppArray<string > google_books_api::Annotation::get_page_ids |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'pageIds' attribute.
◆ get_selected_text()
| const StringPiece google_books_api::Annotation::get_selected_text |
( |
| ) |
const |
|
inline |
Get the value of the 'selectedText' attribute.
◆ get_self_link()
| const StringPiece google_books_api::Annotation::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink' attribute.
◆ get_updated()
| client::DateTime google_books_api::Annotation::get_updated |
( |
| ) |
const |
|
inline |
Get the value of the 'updated' attribute.
◆ get_volume_id()
| const StringPiece google_books_api::Annotation::get_volume_id |
( |
| ) |
const |
|
inline |
Get the value of the 'volumeId' attribute.
◆ GetTypeName()
| const StringPiece google_books_api::Annotation::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_after_selected_text()
| bool google_books_api::Annotation::has_after_selected_text |
( |
| ) |
const |
|
inline |
Determine if the 'afterSelectedText' attribute was set.
- Returns
- true if the '
afterSelectedText' attribute was set.
◆ has_before_selected_text()
| bool google_books_api::Annotation::has_before_selected_text |
( |
| ) |
const |
|
inline |
Determine if the 'beforeSelectedText' attribute was set.
- Returns
- true if the '
beforeSelectedText' attribute was set.
◆ has_client_version_ranges()
| bool google_books_api::Annotation::has_client_version_ranges |
( |
| ) |
const |
|
inline |
Determine if the 'clientVersionRanges' attribute was set.
- Returns
- true if the '
clientVersionRanges' attribute was set.
◆ has_created()
| bool google_books_api::Annotation::has_created |
( |
| ) |
const |
|
inline |
Determine if the 'created' attribute was set.
- Returns
- true if the '
created' attribute was set.
◆ has_current_version_ranges()
| bool google_books_api::Annotation::has_current_version_ranges |
( |
| ) |
const |
|
inline |
Determine if the 'currentVersionRanges' attribute was set.
- Returns
- true if the '
currentVersionRanges' attribute was set.
◆ has_data()
| bool google_books_api::Annotation::has_data |
( |
| ) |
const |
|
inline |
Determine if the 'data' attribute was set.
- Returns
- true if the '
data' attribute was set.
◆ has_deleted()
| bool google_books_api::Annotation::has_deleted |
( |
| ) |
const |
|
inline |
Determine if the 'deleted' attribute was set.
- Returns
- true if the '
deleted' attribute was set.
◆ has_highlight_style()
| bool google_books_api::Annotation::has_highlight_style |
( |
| ) |
const |
|
inline |
Determine if the 'highlightStyle' attribute was set.
- Returns
- true if the '
highlightStyle' attribute was set.
◆ has_id()
| bool google_books_api::Annotation::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::Annotation::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::Annotation::has_layer_id |
( |
| ) |
const |
|
inline |
Determine if the 'layerId' attribute was set.
- Returns
- true if the '
layerId' attribute was set.
◆ has_layer_summary()
| bool google_books_api::Annotation::has_layer_summary |
( |
| ) |
const |
|
inline |
Determine if the 'layerSummary' attribute was set.
- Returns
- true if the '
layerSummary' attribute was set.
◆ has_page_ids()
| bool google_books_api::Annotation::has_page_ids |
( |
| ) |
const |
|
inline |
Determine if the 'pageIds' attribute was set.
- Returns
- true if the '
pageIds' attribute was set.
◆ has_selected_text()
| bool google_books_api::Annotation::has_selected_text |
( |
| ) |
const |
|
inline |
Determine if the 'selectedText' attribute was set.
- Returns
- true if the '
selectedText' attribute was set.
◆ has_self_link()
| bool google_books_api::Annotation::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::Annotation::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::Annotation::has_volume_id |
( |
| ) |
const |
|
inline |
Determine if the 'volumeId' attribute was set.
- Returns
- true if the '
volumeId' attribute was set.
◆ mutable_clientVersionRanges()
Gets a reference to a mutable value of the 'clientVersionRanges' property.
Selection ranges sent from the client.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_currentVersionRanges()
Gets a reference to a mutable value of the 'currentVersionRanges' property.
Selection ranges for the most recent content version.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_layerSummary()
Gets a reference to a mutable value of the 'layerSummary' property.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_pageIds()
| client::JsonCppArray<string > google_books_api::Annotation::mutable_pageIds |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'pageIds' property.
Pages that this annotation spans.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Annotation * google_books_api::Annotation::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_after_selected_text()
| void google_books_api::Annotation::set_after_selected_text |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'afterSelectedText' attribute.
Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
- Parameters
-
◆ set_before_selected_text()
| void google_books_api::Annotation::set_before_selected_text |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'beforeSelectedText' attribute.
Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
- Parameters
-
◆ set_created()
| void google_books_api::Annotation::set_created |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'created' attribute.
Timestamp for the created time of this annotation.
- Parameters
-
◆ set_data()
| void google_books_api::Annotation::set_data |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'data' attribute.
User-created data for this annotation.
- Parameters
-
◆ set_deleted()
| void google_books_api::Annotation::set_deleted |
( |
bool |
value | ) |
|
|
inline |
Change the 'deleted' attribute.
Indicates that this annotation is deleted.
- Parameters
-
◆ set_highlight_style()
| void google_books_api::Annotation::set_highlight_style |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'highlightStyle' attribute.
The highlight style for this annotation.
- Parameters
-
◆ set_id()
| void google_books_api::Annotation::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
Id of this annotation, in the form of a GUID.
- Parameters
-
◆ set_kind()
| void google_books_api::Annotation::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Resource type.
- Parameters
-
◆ set_layer_id()
| void google_books_api::Annotation::set_layer_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'layerId' attribute.
The layer this annotation is for.
- Parameters
-
◆ set_selected_text()
| void google_books_api::Annotation::set_selected_text |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selectedText' attribute.
Excerpt from the volume.
- Parameters
-
◆ set_self_link()
| void google_books_api::Annotation::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink' attribute.
URL to this resource.
- Parameters
-
◆ set_updated()
| void google_books_api::Annotation::set_updated |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'updated' attribute.
Timestamp for the last time this annotation was modified.
- Parameters
-
◆ set_volume_id()
| void google_books_api::Annotation::set_volume_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'volumeId' attribute.
The volume that this annotation belongs to.
- Parameters
-
The documentation for this class was generated from the following files:
- google/books_api/annotation.h
- google/books_api/annotation.cc