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.



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

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)


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

def next_page_token
  @next_page_token
end

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

A page of notes. Corresponds to the JSON property notes

Returns:



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