Class: Google::Apis::KeepV1::ListNotesResponse
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::ListNotesResponse
- 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
-
#next_page_token ⇒ String
Next page's
page_token
field. -
#notes ⇒ Array<Google::Apis::KeepV1::Note>
A page of notes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListNotesResponse
constructor
A new instance of ListNotesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListNotesResponse
Returns a new instance of ListNotesResponse.
253 254 255 |
# File 'lib/google/apis/keep_v1/classes.rb', line 253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Next page's page_token
field.
Corresponds to the JSON property nextPageToken
246 247 248 |
# File 'lib/google/apis/keep_v1/classes.rb', line 246 def next_page_token @next_page_token end |
#notes ⇒ Array<Google::Apis::KeepV1::Note>
A page of notes.
Corresponds to the JSON property notes
251 252 253 |
# File 'lib/google/apis/keep_v1/classes.rb', line 251 def notes @notes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
258 259 260 261 |
# File 'lib/google/apis/keep_v1/classes.rb', line 258 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @notes = args[:notes] if args.key?(:notes) end |