class Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1ListBooksResponse

Response message for LibraryAgent.ListBooks.

Attributes

books[RW]

The list of books. Corresponds to the JSON property `books` @return [Array<Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1Book>]

next_page_token[RW]

A token to retrieve next page of results. Pass this value in the ListBooksRequest.page_token field in the subsequent call to `ListBooks` method to retrieve the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/libraryagent_v1/classes.rb, line 85
def update!(**args)
  @books = args[:books] if args.key?(:books)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end