Class: Google::Apis::KeepV1::ListNotesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/keep_v1/classes.rb,
lib/google/apis/keep_v1/representations.rb,
lib/google/apis/keep_v1/representations.rb

Overview

The response when listing a page of notes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListNotesResponse

Returns a new instance of ListNotesResponse.



254
255
256
# File 'lib/google/apis/keep_v1/classes.rb', line 254

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

Next page's page_token field. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


247
248
249
# File 'lib/google/apis/keep_v1/classes.rb', line 247

def next_page_token
  @next_page_token
end

#notesArray<Google::Apis::KeepV1::Note>

A page of notes. Corresponds to the JSON property notes

Returns:



252
253
254
# File 'lib/google/apis/keep_v1/classes.rb', line 252

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



259
260
261
262
# File 'lib/google/apis/keep_v1/classes.rb', line 259

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @notes = args[:notes] if args.key?(:notes)
end