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.
254 255 256 |
# File 'lib/google/apis/keep_v1/classes.rb', line 254 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
247 248 249 |
# File 'lib/google/apis/keep_v1/classes.rb', line 247 def next_page_token @next_page_token end |
#notes ⇒ Array<Google::Apis::KeepV1::Note>
A page of notes.
Corresponds to the JSON property notes
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 |