class Google::Apis::BooksV1::Annotations

Attributes

items[RW]

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

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]

Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated. Corresponds to the JSON property `totalItems` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 287
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 292
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)
end