class Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1ListShelvesResponse

Response message for LibraryAgent.ListShelves.

Attributes

next_page_token[RW]

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

shelves[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/libraryagent_v1/classes.rb, line 107
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 112
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @shelves = args[:shelves] if args.key?(:shelves)
end