Class: Google::Apis::BooksV1::Volumeannotations
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volumeannotations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BooksV1::VolumeAnnotation>
A list of volume annotations.
-
#kind ⇒ String
Resource type Corresponds to the JSON property
kind
. -
#next_page_token ⇒ String
Token to pass in for pagination for the next page.
-
#total_items ⇒ Fixnum
The total number of volume annotations found.
-
#version ⇒ String
The version string for all of the volume annotations in this layer (not just the ones in this response).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Volumeannotations
constructor
A new instance of Volumeannotations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Volumeannotations
Returns a new instance of Volumeannotations.
4283 4284 4285 |
# File 'generated/google/apis/books_v1/classes.rb', line 4283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::VolumeAnnotation>
A list of volume annotations.
Corresponds to the JSON property items
4257 4258 4259 |
# File 'generated/google/apis/books_v1/classes.rb', line 4257 def items @items end |
#kind ⇒ String
Resource type
Corresponds to the JSON property kind
4262 4263 4264 |
# File 'generated/google/apis/books_v1/classes.rb', line 4262 def kind @kind end |
#next_page_token ⇒ String
Token to pass in for pagination for the next page. This will not be present if
this request does not have more results.
Corresponds to the JSON property nextPageToken
4268 4269 4270 |
# File 'generated/google/apis/books_v1/classes.rb', line 4268 def next_page_token @next_page_token end |
#total_items ⇒ Fixnum
The total number of volume annotations found.
Corresponds to the JSON property totalItems
4273 4274 4275 |
# File 'generated/google/apis/books_v1/classes.rb', line 4273 def total_items @total_items end |
#version ⇒ String
The version string for all of the volume annotations in this layer (not just
the ones in this response). Note: the version string doesn't apply to the
annotation data, just the information in this response (e.g. the location of
annotations in the book).
Corresponds to the JSON property version
4281 4282 4283 |
# File 'generated/google/apis/books_v1/classes.rb', line 4281 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4288 4289 4290 4291 4292 4293 4294 |
# File 'generated/google/apis/books_v1/classes.rb', line 4288 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_items = args[:total_items] if args.key?(:total_items) @version = args[:version] if args.key?(:version) end |