class Google::Apis::BooksV1::Volumeannotations

Attributes

items[RW]

A list of volume annotations. Corresponds to the JSON property `items` @return [Array<Google::Apis::BooksV1::VolumeAnnotation>]

kind[RW]

Resource type Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

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` @return [String]

total_items[RW]

The total number of volume annotations found. Corresponds to the JSON property `totalItems` @return [Fixnum]

version[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 4410
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 4415
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